Code example for Socket

Methods: getPort

0
        return socket.isInputShutdown();
    } 
 
    @Override 
    public int getPort() { 
        return socket.getPort();
    } 
 
    @Override 
    public int getLocalPort() { 
        return socket.getLocalPort();
    } 
 
    // ------------------------------------------------------------------- 
 
} 
 
Stop searching for code, let great code find you!  Add Codota to your java IDE