This program allows you to open a chat in a local subnet via a UDP connection between the client and the server. It consists of the server and client parts of the program
- Automatically assigns a port for the server, finds an IP address on the local network, and displays it on the screen.
- Allows you to connect both by accessing 127.0.0.1 and by using an address in the local subnet from other devices
- Allows you to choose a nickname for chatting
- System messages about new users or the exit of old users
- Using multithreading to continuously update messages without interrupting the main thread
- Handles CTRL+C to exit
- The server stores a set of connected clients, and when they disconnect, it removes them from the set
- Allows you to run multiple servers and clients on a single PC. Each process will be assigned its own port
- The server logs all received packets


