You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
yikth 1421ea6063 Update 'README.md' 3 years ago
MultiThreadTCPClient add client code 3 years ago
MultiThreadTCPServer fix server null exception 3 years ago
.gitattributes Add .gitattributes, .gitignore, and README.md. 3 years ago
.gitignore Add .gitattributes, .gitignore, and README.md. 3 years ago
MultiThreadTCP.sln add client code 3 years ago
README.md Update 'README.md' 3 years ago

README.md

MultiThreadTCP

Explanation

  • StartListener method keeps listening for incoming connections & every time when a new client gets connected
  • It creates a new Thread of HandleClient to handle the connected client in the background
  • Concurrently, server start waiting for another new client.
  • For client, there is 2 distinct clients connecting to the same server.
  • Each client will send and receive message for 3x in interval of 2s