Fields

sa: os.sockaddr.in6,

Functions

fn format(self: Ip6Address, comptime fmt: []const u8, options: std.fmt.FormatOptions, out_stream: anytype) !void

No documentation provided.

fn getOsSockLen(self: Ip6Address) os.socklen_t

No documentation provided.

fn getPort(self: Ip6Address) u16

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

fn init(addr: [16]u8, port: u16, flowinfo: u32, scope_id: u32) Ip6Address

No documentation provided.

fn parse(buf: []const u8, port: u16) !Ip6Address

Parse a given IPv6 address string into an Address. Assumes the Scope ID of the …

Parse a given IPv6 address string into an Address. Assumes the Scope ID of the address is fully numeric. For non-numeric addresses, see resolveIp6.

fn resolve(buf: []const u8, port: u16) !Ip6Address

No documentation provided.

fn setPort(self: *Ip6Address, port: u16) void

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