Socket.getPort

Socket.getPort

Class Overview | Class Members | This Package | All Packages

Syntax
public int getPort()
Returns
the remote port number to which this socket is connected.
Description
Returns the remote port to which this socket is connected.