Skip to content

xromza/TCP_Chat_CPP

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Subnet TCP Chat by xromza

What is it for?

This program allows you to open a chat in a local subnet via a TCP 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

Console chat in local subnet using multithreaded C++ TCP Sockets

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Languages