DatagramSocket.getLocalPort

DatagramSocket.getLocalPort

Class Overview | Class Members | This Package | All Packages

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