Skip to content

xromza/UDP-Chat-CPP

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Subnet UDP Chat by xromza

What is it for?

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

Advantages

  • 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

Screenshots

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages