ioLibrary_Driver icon indicating copy to clipboard operation
ioLibrary_Driver copied to clipboard

Update socket.c

Open reiyawea opened this issue 5 years ago • 0 comments

Use "disconnect()" instead of "close()" during CLOSE_WAIT, so as to reply FIN flag after receiving a FIN flag. Otherwise no FIN will be sent and the peer gets stuck in FIN_WAIT_2.

reiyawea avatar Sep 26 '20 03:09 reiyawea