Reputation: 81
I have a asynchronous TCP project and I can handle multiple connections.
But,for example: If I have two clients connected how can I communicate with both of them?
Upvotes: 0
Views: 31
Reputation: 28839
Well, obviously you'll need some sort of container to hold the current connections along with an internal identifier (key) that lets you find the connection you want to send something on.
If you have problems with this, please post a more specific question.
Upvotes: 2