Storing Multiple Socket Objects...?
I've multiple Socket objects connected with multiple servers.
Does .NET provide any mechanisms to access these objects through any collection classes?
The only primitive solutions I got so far is:
Object [] o = new Object[5]; //handle a max. of 5 connections
socket = new Socket(...);
o[0] = socket; // save the object in the array.
Is this any good? How about GetHashcode()?
Thanks,
JJ