InetAddress.port

Gets the port number from this.addr.

  1. ushort port()
    struct InetAddress(bool IPv6 = false)
    ushort
    port
    ()
  2. ushort port(ushort p)

Return Value

Type: ushort

the port number.

Meta