M
Matt Baker
Guest
Most (all?) OS's have a linger timeout before a socket is completely cleaned up. This is to let the OS handle any stray packets that may be coming in over the network even after the application has indicated it is done with the socket. You can control it by setting socket option SO_LINGER to 0.
Continue reading...
Continue reading...