java detect if Remote Socket isClosed 十月 26, 2016 try { socket .sendUrgentData( 0xFF ) ; } catch (Exception e){ remoteSocketIsClosed(); } 阅读全文