Code example for Socket

Methods: getSoTimeout

0
        return socket.getTrafficClass();
    } 
 
    @Override 
    public int getSoTimeout() throws SocketException { 
        return socket.getSoTimeout();
    } 
 
    @Override 
    public int getSoLinger() throws SocketException { 
        return socket.getSoLinger();
    } 
 
    @Override 
    public int getSendBufferSize() throws SocketException { 
        return socket.getSendBufferSize();
    } 
 
    @Override 
    public int getReceiveBufferSize() throws SocketException { 
        return socket.getReceiveBufferSize();