Function init [src]

Prototype

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

Parameters

addr: [16]u8port: u16flowinfo: u32scope_id: u32

Source

pub fn init(addr: [16]u8, port: u16, flowinfo: u32, scope_id: u32) Ip6Address { return Ip6Address{ .sa = posix.sockaddr.in6{ .addr = addr, .port = mem.nativeToBig(u16, port), .flowinfo = flowinfo, .scope_id = scope_id, }, }; }