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.
Yik Teng Hie aa63bd929f simple machine server 3 years ago
.vscode simple machine server 3 years ago
MachineServer simple machine server 3 years ago
MultiThreadTCPClient
MultiThreadTCPServer
.gitattributes
.gitignore
MultiThreadTCP.sln simple machine server 3 years ago
README.md

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