Code example for Socket

Methods: getSoTimeout

0
    public void setSoTimeout(int timeout) throws SocketException {
        s.setSoTimeout(timeout);
    } 
 
    public int getSoTimeout() throws SocketException { 
        return s.getSoTimeout();
    } 
 
    public void setSendBufferSize(int size) throws SocketException {
        s.setSendBufferSize(size);
    } 
 
    public int getSendBufferSize() throws SocketException { 
        return s.getSendBufferSize();
    } 
 
    public void setReceiveBufferSize(int size) throws SocketException {
        s.setReceiveBufferSize(size);
    } 
 
Stop searching for code, let great code find you!  Add Codota to your java IDE