Code example for Socket

Methods: getRemoteSocketAddress

0
        } 
    } 
 
    public SocketAddress getRemoteAddress()
    { 
        return _socket.getRemoteSocketAddress();
    } 
 
    public SocketAddress getLocalAddress()
    { 
        return _socket.getLocalSocketAddress();
    } 
 
    public void setMaxWriteIdle(int sec)
    { 
        // TODO implement support for setting heartbeating config in this way 
        // Currently a socket timeout is used in IoSender 
    } 
 
    public void setMaxReadIdle(int sec)
    {