InetSocketAddress.getPort

ushort getPort()

Gets address's port.

Returns

the port for address