|
-
Apr 19th, 2001, 09:07 AM
#1
Thread Starter
Lively Member
I have a server program with an array of winsocks that listen for client log ons. My problem is that sometimes the client program can crash out leaving the winsock open with the server. I would like to be able to cycle through the array of listening winsocks and check that all the cleints are still there. Is there a way that a listening server socket can confirm that there is something at the other end
-
Apr 19th, 2001, 09:22 AM
#2
Frenzied Member
Heartbeats.
These are small, throw-away messages that tell the other side that you are still there.
If the server has not received a message (heartbeat or otherwise) within a set amount of time, it can assume that the other side is gone and take the appropriate actions.
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
|