missing methods in java.net.Socket

Stewart Allen stewart at neuron.com
Wed Jul 15 12:53:10 PDT 1998


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). 



More information about the kaffe mailing list