fn getPort(self: Address) u16

Returns the port in native endian. Asserts that the address is ip4 or ip6.

Parameters

self: Address,