missing methods in java.net.Socket
Stewart Allen
kaffe@rufus.w3.org
Wed, 15 Jul 1998 15:53:10 -0400
It also seems that the UDP (Datagram) stuff is missing. At least my UDP
apps throw NoSuchMethod errors. Anyone else see this? (Intel Linux RH5.0)
At 04:15 PM 7/15/98 -0400, you wrote:
>java.net.Socket is missing several methods:
>
> getSoLinger()
> Returns setting for SO_LINGER.
> getSoTimeout()
> Returns setting for SO_TIMEOUT.
>
> setSoLinger(boolean, int)
> Enable/disable SO_LINGER with the specified linger time.
> setSoTimeout(int)
> Enable/disable SO_TIMEOUT with the specified timeout, in
>milliseconds.
>
> getTcpNoDelay()
> Tests if TCP_NODELAY is enabled.
>
> setTcpNoDelay(boolean)
> Enable/disable TCP_NODELAY (disable/enable Nagle's algorithm).