Culture, IT, Trend, Travel , Experience korea travel & culture youtube: https://www.youtube.com/@kawadakr
2013. 12. 23.
remove FIN_WAIT_2 from connection ( windows) by JAVA
when close socket at server side. although socket.close is called FIN_WAIT_2 is not disappeared.
c:\netstat -an |find "FIN_WAIT_2"
TCP 127.0.0.1:1234 127.0.0.1:61234 FIN_WAIT_2
TCP 127.0.0.1:61234 127.0.0.1:1234 CLOSE_WAIT
In your code,
you must call this function before close socket.
setSoLinger(true, 2000);
피드 구독하기:
글 (Atom)
