Re: [twsocket] Windows TCP connect timeout

2009-03-25 Thread Angus Robertson - Magenta Systems Ltd
> I've learned once that the default timeout for reporting a failed 
> TCP connect attemp is 45 seconds for Windows? 

40 seconds comes to mind, which is why most of my applications ping a
server before attempting to connect to it, since ping has a configurable
timeout.  

If you Goggle the TcpMaxConnectRetransmissions and TcpInitialRTT registry
keys, you'll find information about the connect timeouts work.  Beware
changing the default (or non-existent keys) values, it effects every TCP
connection on the PC.  

HKLM\SYSTEM\CurrentControlSet\Services\Tcpip 

Angus

-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be


[twsocket] Windows TCP connect timeout

2009-03-24 Thread Markus Humm
Hello,

I've learned once that the default timeout for reporting a failed TCP
connect attemp is 45 seconds for Windows? Is this correct and is there
any public source about this available?

Greetings

Markus
-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be