Obtains the current port number.
the current port number.
Errors: EAFNOSUPPORT: The address family is not supported (AF_INET/IPv4 or AF_INET6/IPv6).
In: this.ai_addr must not be null: this instance should have been obtained by getaddrinfo() or manually initialised.
See Implementation
Obtains the current port number.