Deconnection -> closing sockets

G

G.f

I hope somebody can answer to that question:

Is there a way or a software which unable Windows to close sockets when it
lost a network connection. My aim is to force Windows to wait for the TCP
time-out so the sockets can still work if the connection becomes available
soon enough.

Thank you!
 
J

Jetro

http://support.microsoft.com/?id=120642
TCP/IP and NBT Configuration Parameters for Windows 2000 or Windows NT

TcpTimedWaitDelay default value is 4 min, minimum 30 sec, max 5 min. This
parameter determines the length of time that a connection will stay in the
TIME_WAIT state when being closed. While a connection is in the TIME_WAIT
state, the socket pair cannot be re-used.
On the other hand, a bunch of other parameters such as KeepAliveTime and
....Interval and TcpMaxDataRetransmissions controls aborting the connection.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top