connect() does not return ETIMEDOUT
When a TCP client opens multiple connections beyond the server's backlog capacity, the call to connect() returns a value of zero (success) after 9 seconds. Toggling SYN-cookies makes no difference.
Is this intended behaviour?
Under Solaris I get ETIMEDOUT (Connection timed out) after a little less than 4 minutes.
Presumably I could set the socket to non-blocking and select() for writability... (I have not tested that yet.)
But if I want to keep it simple, what is the recommended solution?
Signature · 1 line
Manfred Bartz