`
hpq852
  • 浏览: 1655 次
社区版块
存档分类
最新评论
文章列表
Disconnet Detection Since TCP/IP sends no packets except when there is traffic, without Socket.setKeepAlive( true ), it has no way of noticing a disconnect until you start trying to send (or to a certain extent receive) traffic again. Java has the Socket.setKeepAlive( true ) method to ask TCP/IP to h ...
Global site tag (gtag.js) - Google Analytics