|
-
January 17th, 2012, 03:30 AM
#5
Re: Winsock fails after 1 hour
Thanks for all the replies ...
I will be posting the code.
Meanwhile what are the external reasons that the windows socket can fail?
-- coz the time out for this error is Exactly 1 hour...
Steps,
1. Start the communication between the client and server
2. Wait for 1 hour
3. Start communication again
3. Socket errors Client and server closes
However, if there is some communication between the client and server within the 1 hour then the program runs fine.
THIS SEQUENCE doesnt fail
1. Start the communication
2. Wait for 55 ~ 58 minutes
3. Communicate - communication is successful
THIS SEQUENCE doesnt fail either
1. Start the communication
2. Wait for 55 ~ 58 minutes
3. Communicate - communication is successful
4. Wait for another hour
5. Communication doesnt fail.
Thanks in anticipation
Regards
Tags for this Thread
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
|