Functions
fn format(self: Address, comptime fmt: []const u8, options: std.fmt.FormatOptions, out_stream: anytype) !void
No documentation provided.
fn getPort(self: Address) u16
Returns the port in native endian. Asserts that the address is ip4 or ip6.
fn initPosix(addr: *const align(4) os.sockaddr) Address
Asserts that
addr
is an IP address. This function will read past the end of t…Asserts that
addr
is an IP address. This function will read past the end of the pointer, with a size depending on the address family.fn parseExpectingFamily(name: []const u8, family: os.sa_family_t, port: u16) !Address
No documentation provided.