C
Claire
When i close a client connection by using
System.Net.Sockets.TcpClient.Close() method it remains open and viewable
with netstat -an.
public void Disconnect()
{
if (myClient == null) return;
myClient.Close();
myClient = null;
}
Tested with the above code.
Why is this please? Or should I be doing something else too?
thanks
System.Net.Sockets.TcpClient.Close() method it remains open and viewable
with netstat -an.
public void Disconnect()
{
if (myClient == null) return;
myClient.Close();
myClient = null;
}
Tested with the above code.
Why is this please? Or should I be doing something else too?
thanks