Code example for Socket

Methods: getPort

0
        return socket.isInputShutdown();
    } 
 
    @Override 
    public int getPort() { 
        return socket.getPort();
    } 
 
    @Override 
    public int getLocalPort() { 
        return socket.getLocalPort();
    } 
 
    // ------------------------------------------------------------------- 
 
}