how to keep an List<> of TcpClients

  • Thread starter Thread starter coltrane
  • Start date Start date
C

coltrane

I need to create a server that maintains an array of clients. Should I
be storing the TcpClient references in the list or the streams or
something else?

thanks for the help

john
 
coltrane said:
I need to create a server that maintains an array of clients. Should I
be storing the TcpClient references in the list or the streams or
something else?

It depends on your code.

But most likely a custom class with the per client info you need
would be best.

Arne
 
Back
Top