Project: Write a UDP Chat App!

Welcome to your UDP project in this course!

We'll cover the following


Writing a chat app is not so different from the capitalization code we saw in the last lesson. The idea is very simple. The client sends a message to the server and the server should respond with one. Both messages should be taken as input from the user. We’ve given you some basic starter code for it.

Here are some other factors you would want to consider to write your app:

  1. Your client and server both need to stay alive and not exit after each message sent.
  2. Both the client and the server need to print every message received from the other party.
  3. The server should not be chatting with more than one client.

Get hands-on with 1200+ tech skills courses.