Just exposed to .NET development, encounter a problem and can not be solved, please teach each as a good man: previously prepared WINSOCK communication program, usually use the Winsock array to save the client's connection. In VB.NET, write asynchronous communication programs The key code is as follows:
MyListener = new TCPListener (iPort) 'Start listening to myListener.Start ()
While (TRUE) DIM NewClient As New EliveClient (MyListener.accepttclient ()) End While
Where ELIVECLIENT is a customer information class I defined, it uses a TCPClient as a parameter for constructing a culvert. So I got a connection, .NET should save this instance of NewClient to a column. When the server accepts many customers How do I retrieve these connections?