Ras
Ras

Reputation: 628

C# single client that connects to several server

I have to design a tcp-ip application based on a single client that open several connections against external server. Obviously I thought to open a different socket for each server (max 12) and use an asynchronous connection, because those server may send me data on every moments. Someone could point me to a efficient pattern in order to create this kind of client?

thanks

Upvotes: 0

Views: 96

Answers (1)

Stefano L
Stefano L

Reputation: 1582

Have a look on Observer and/or Visitor.

Upvotes: 1

Related Questions