|
-
March 17th, 2005, 02:03 AM
#1
Detecting closed connection
Hi,
I'm using standard-winsock(2.0) writing a simple TCP server application.
First i listen to a port, then accept an incomming connection and then
doing some communication.
I know, if the client closes the connection gracefully a final Send with 0-Bytes is done.
Now my question:
Is it possible to detect anyhow, if the client closed the connection NOT gracefully,
for example removing the network-cable, killing his application, or something like this.
Any suggestions are welcome.
Matze
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
|