Try the Windows API function MsgWaitForMultipleObjectsEx which takes a timeout value as one of it's parameters. I'm not sure whether it's the right thing for Winsock, but I've used it for communicating with Pocket PCs with 100% success. Phil
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.