View Single Post
Old 09-14-2003, 10:49 PM  
darkone
Disabled
 
darkone's Avatar
 
Join Date: Dec 2001
Posts: 2,230
Default

5.0.11 used more brute-force approach to close socket, where os was responsible of freeing resources:

closesocket(Socket);

5.0.12+ uses nicer implementation, which frees resources immeaditely:

shutdown(Socket, FD_SEND);
WSARecv(Socket, ...); // This is where it waits with raiden
setsockopt(Socket, SO_LINGER, ...); // Disable lingering
closesocket(Socket);
darkone is offline   Reply With Quote