There is a good article on the time_wait state of sockets at
http://www.developerweb.net/forum/showthread.php?t=2941 which mentions the
SO_LINGER settings:

...Because of these potential problems with TIME_WAIT assassinations, one
should not avoid the TIME_WAIT state by setting the SO_LINGER option to
send an RST instead of the normal TCP connection termination
(FIN/ACK/FIN/ACK). The TIME_WAIT state is there for a reason; it's your
friend and it's there to help you :-)

Might be of some help.


Best Regards,

Gary

Reply via email to