Update 'README.md'
parent
4d359e91f4
commit
1421ea6063
@ -1 +1,10 @@
|
||||
# MultiThreadTCP
|
||||
# MultiThreadTCP
|
||||
|
||||
- [Reference](https://codinginfinite.com/multi-threaded-tcp-server-core-example-csharp/)
|
||||
|
||||
## 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
|
||||
Loading…
Reference in New Issue