Type MSG [src]

Members

Source

pub const MSG = switch (native_os) { .linux => linux.MSG, .emscripten => emscripten.MSG, .windows => ws2_32.MSG, .haiku => struct { pub const OOB = 0x0001; pub const PEEK = 0x0002; pub const DONTROUTE = 0x0004; pub const EOR = 0x0008; pub const TRUNC = 0x0010; pub const CTRUNC = 0x0020; pub const WAITALL = 0x0040; pub const DONTWAIT = 0x0080; pub const BCAST = 0x0100; pub const MCAST = 0x0200; pub const EOF = 0x0400; pub const NOSIGNAL = 0x0800; }, // https://github.com/SerenityOS/serenity/blob/ac44ec5ebc707f9dd0c3d4759a1e17e91db5d74f/Kernel/API/POSIX/sys/socket.h#L56-L64 .serenity => struct { pub const TRUNC = 0x1; pub const CTRUNC = 0x2; pub const PEEK = 0x4; pub const OOB = 0x8; pub const DONTROUTE = 0x10; pub const WAITALL = 0x20; pub const DONTWAIT = 0x40; pub const NOSIGNAL = 0x80; pub const EOR = 0x100; }, else => void, }