code_junkie

Configure a Java Socket to fail-fast on disconnect?

Nov 10th, 2011
117
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.20 KB | None | 0 0
  1. Socket mySocket = new Socket(host,port);
  2.  
  3. tcp4 0 0 *.9999 *.* LISTEN
  4. tcp 0 0 127.0.0.1.45737 127.0.0.1.9999 CLOSE_WAIT
Add Comment
Please, Sign In to add comment