没有人懂???????????????????????????????????????????????
解决方案 »
- 我的多线程 为什么没有同步呢?
- iBATIS 有人能给介绍下具体的使用吗
- 新人求助!java中的JEditorPane怎么用,能不能写个简单的带htm文件的例子给我?
- 这段程序怎么运行不了?
- java访问局域网里面的共享的文件问题
- new Class[]{int.class}是什么意思?
- Swing里面有没有办法动态刷新JTable中的内容,看起来就像是动态滚动,时时显示最新产生新数据!!100分求救!!!!
- 关于jfreechart问题
- isLetter()的含义??
- JAVA和IE问题
- 请问各位:小弟有些不明:jdk和java runtime system到底区别在那里,还有j2se,j2me,j2ee是什么东东,怎样才能用呢?
- JAVA里面查询只返回数据集中的第10行到第20行
Tests if SO_KEEPALIVE is enabled
public static final int SO_KEEPALIVE
When the keepalive option is set for a TCP socket and no data has been exchanged across the socket in either direction for 2 hours (NOTE: the actual value is implementation dependent), TCP automatically sends a keepalive probe to the peer. This probe is a TCP segment to which the peer must respond. One of three responses is expected: 1. The peer responds with the expected ACK. The application is not notified (since everything is OK). TCP will send another probe following another 2 hours of inactivity. 2. The peer responds with an RST, which tells the local TCP that the peer host has crashed and rebooted. The socket is closed. 3. There is no response from the peer. The socket is closed. The purpose of this option is to detect if the peer host crashes. Valid only for TCP socket: SocketImpl