Hi:
I'm trying to find out if anyone know how to check the current status of TCP connection? I'm using C#.

If I have a TCPclient waiting to connect to a TCPlistener, half way during the connection, somehow the connection dropped or Tcplistener having a problem or accidentally shut down, how would i know the TCPclient status is the latest? I could not use TCPclient.connected status as it is only true for connection for the first time. If I used Socket.connected, it is the same as TCPclient.connected.

Can some one tell me how to do this? VB6 winsocks always provided the winsock connection status. how about .NET?

Thanks