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.Quote:
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 ...........
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.Quote:
Originally posted by jase jennings
Thanks for your post. I checked your code and it failed immediately
