Code example for Socket

Methods: getTrafficClass

0
        return socket.getKeepAlive();
    } 
 
    @Override 
    public int getTrafficClass() throws SocketException { 
        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();