First I know it's not a good idea to non-block a socket.
Second, how can a non-blocking connect() work, i'm not writing a program for a lan network with replies under 1ms... The times over the internet are pretty high, if i non-block connect() it will simply never connect!



LinkBack URL
About LinkBacks



is there a way to change the default timeout value of connect(), without changing the socket to non-blocking...