ServerSocket.getLocalPort

ServerSocket.getLocalPort

Class Overview | Class Members | This Package | All Packages

Syntax
public int getLocalPort()
Returns
the port number to which this socket is listening.
Description
Returns the port on which this socket is listening.