Jump to content

Recommended Posts

Posted (edited)

----------
edit: this is probably in the wrong place, can a moderator move it to wherever it belongs?
----------

is there any way to completely disable TCPTimeout and make TCPRecv() wait indefinitely? maybe setting it to 0 or -1 or something? 
the docs doesn't seem to mention any way to disable it

- the underlying C code would set SO_RCVTIMEO to 0 , aka

DWORD timeout=0;
setsockopt(s, SOL_SOCKET, SO_RCVTIMEO, &timeout, sizeof(timeout));

Edited by HansHenrik

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...