Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Timeout on send and recv calls

Status
Not open for further replies.

webstony

Technical User
Jan 29, 2001
19
0
0
DE
Hi there,

how is it possible to set a timeout-value on send and recv calls through the winsock?

mfg, stony
 
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
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top