fn getPort(self: Ip4Address) u16

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

Parameters

self: Ip4Address,