|
-
Jun 7th, 2008, 09:36 AM
#1
Thread Starter
Addicted Member
TCP Connection Status
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
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|