没有人懂???????????????????????????????????????????????
解决方案 »
- 新手问题
- 突然想到个问题,为什么会存在coutinue关键字?
- 散分
- 解决了都有分
- jdk1.4.0在win2k下如何配置才仍正常使用
- 各位大侠,我写了一段applet程序,编译能通过,但是运行时总是提示未初始化,怎么办啊
- 请问这个怎么实现?
- 请问各位高手,getImage(URL url)中的URL url参数是怎么用的?
- 在服务器端和客户端传输字符串。(使用socket实现)传输英文时无任何问题。传输中文时服务器端出现乱码。(注:单独在服务器端或是客户端
- 用static修饰符到底好处在哪里?
- 请问各位:小弟有些不明: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