|
-
November 20th, 2003, 11:17 PM
#11
Originally posted by anima_sg
but when i did this with CAysncsocket the sequence was different. Now the questoin is to recreate the magical sqquence or use the connect with timeout ...........
You have to use winsock APIs rather than CSockets. For such situations you need to have more control over what is happening...so APIs are the best.
Originally posted by jase jennings
Thanks for your post. I checked your code and it failed immediately
I think what Jase should do is to choose one of the method that suits the situation. The user should have the responsibility to fix the problem. Well, to know if there is net connection we all use IE to check. So I think we should follow the approach that IE uses. Searching for the 'fool proof' solution if one doesn't exist is just a waste of time. In the course of time, if someone gets such a solution, please participate us with it.
Even if our suggestions didn't help, please post the answer once you find it. We took the effort to help you, please return it to others.
* While posting code sections please use CODE tags
* Please check the codeguru FAQ and do a little search to see if your question have been answered before.
* Like a post, Rate The Post
* I blog: Network programming, Bible
I do all things thru CHRIST who strengthens me
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
|