K
klwizzard
Dear newsgroup,
I want to check from a tcp client if a socket connection to a server is
available or the server is down.
I'm using a TcpClient to handle the connection.
I'm using the asynchron communication with a stream.
For the test I'm using the Client property of the TcpClient.
I've test the sample in the msdn from the Socket.Connected property but it
don't work correct in my code.
My questions are:
1st Whats the easiest way to handle my problem?
2nd Where can I found any further information about this?
3rd Exist anywhere a complete sample for this?
Thanks for your time and any kind of help.
Best regards
Detlev
I want to check from a tcp client if a socket connection to a server is
available or the server is down.
I'm using a TcpClient to handle the connection.
I'm using the asynchron communication with a stream.
For the test I'm using the Client property of the TcpClient.
I've test the sample in the msdn from the Socket.Connected property but it
don't work correct in my code.
My questions are:
1st Whats the easiest way to handle my problem?
2nd Where can I found any further information about this?
3rd Exist anywhere a complete sample for this?
Thanks for your time and any kind of help.
Best regards
Detlev