2002-09-04 Michael Koch <konqueror@gmx.de>
* java/net/DatagramSocket.java (DatagramSocket): Added documentation. (close): Likewise. (getLocalAddress): Likewise. (getLocalPort): Likewise. (receive): Likewise. (send): Likewise. (setSoTimeout): Likewise. (connect): New method. (disconnect): New method. (getInetAddress): New method (FIXME) (getPort): New method. (setReuseAddress): New method. (getReuseAddress): New method. (setBroadcast): New method. (getBroadcast): New method. (setTrafficClass): New method. (getTrafficClass): New method. * java/net/MulticastSocket.java): (getTTL): Added @see in documentation. (setTTL): Added @see in documentation. (setLoopbackMode): New method. (getLoopbackMode): New method. * java/net/PlainSocketImpl.java: Added new constants for the options SO_BROADCAST, SO_OOBINLINE, IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS * java/net/PlainDatagramSocketImpl.java Added new constants for the options SO_BROADCAST, SO_OOBINLINE, IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS * java/net/natPlainSocketImpl.cc (getOption): Implemented the options SO_BROADCAST, SO_OOBINLINE, IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS (setOption): Implemented the options SO_BROADCAST, SO_OOBINLINE, IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS This should also fix SO_KEEPALIVE * java/net/natPlainDatagramSocketImpl.cc (getOption): Implemented the options SO_BROADCAST, SO_OOBINLINE, IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS (setOption): Implemented the options SO_BROADCAST, SO_OOBINLINE, IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS From-SVN: r56801
This commit is contained in:
parent
77e8a0cc9d
commit
7b98d4549b
7 changed files with 417 additions and 22 deletions
|
@ -28,7 +28,12 @@ class PlainSocketImpl extends SocketImpl
|
|||
static final int _Jv_TCP_NODELAY_ = SocketOptions.TCP_NODELAY,
|
||||
_Jv_SO_BINDADDR_ = SocketOptions.SO_BINDADDR,
|
||||
_Jv_SO_REUSEADDR_ = SocketOptions.SO_REUSEADDR,
|
||||
_Jv_IP_MULTICAST_IF_ = SocketOptions.IP_MULTICAST_IF,
|
||||
_Jv_SO_BROADCAST_ = SocketOptions.SO_BROADCAST,
|
||||
_Jv_SO_OOBINLINE_ = SocketOptions.SO_OOBINLINE,
|
||||
_Jv_IP_MULTICAST_IF_ = SocketOptions.IP_MULTICAST_IF,
|
||||
_Jv_IP_MULTICAST_IF2_ = SocketOptions.IP_MULTICAST_IF2,
|
||||
_Jv_IP_MULTICAST_LOOP_ = SocketOptions.IP_MULTICAST_LOOP,
|
||||
_Jv_IP_TOS_ = SocketOptions.IP_TOS,
|
||||
_Jv_SO_LINGER_ = SocketOptions.SO_LINGER,
|
||||
_Jv_SO_TIMEOUT_ = SocketOptions.SO_TIMEOUT,
|
||||
_Jv_SO_SNDBUF_ = SocketOptions.SO_SNDBUF,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue