|
-
August 16th, 2001, 04:15 PM
#1
Is CSocket there?
I am working on an internet project in which I have created a client program and server program that interact. Multiple clients access the server at once. My trouble: when a client machine locks up or has some kind of error that causes my client program not to function, the server program is not notified and attempts to send information to the client as normal. This causes the server program to hit a run time error, locks up the server program, and causes all clients to be booted.
I am using a CSocket derivative class I wrote and CSocketFiles with CArchives to do my interaction. Is there a way that my server's socket can test an individual connection to make sure the far socket is still functional before I send information across? I don't really care if a client locks up; I must make sure that one client's screw up doesn't crash the whole board. Please help me.
Thank you in advance.
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
|