structstd.os.windows.ws2_32.SOCK[src]

Values

ConstantSTREAM[src]

Source Code

Source code
pub const STREAM = 1

ConstantDGRAM[src]

Source Code

Source code
pub const DGRAM = 2

ConstantRAW[src]

Source Code

Source code
pub const RAW = 3

ConstantRDM[src]

Source Code

Source code
pub const RDM = 4

ConstantSEQPACKET[src]

Source Code

Source code
pub const SEQPACKET = 5

ConstantCLOEXEC[src]

WARNING: this flag is not supported by windows socket functions directly, it is only supported by std.os.socket. Be sure that this value does not share any bits with any of the SOCK values.

Source Code

Source code
pub const CLOEXEC = 0x10000

ConstantNONBLOCK[src]

WARNING: this flag is not supported by windows socket functions directly, it is only supported by std.os.socket. Be sure that this value does not share any bits with any of the SOCK values.

Source Code

Source code
pub const NONBLOCK = 0x20000

Source Code

Source code
pub const SOCK = struct {
    pub const STREAM = 1;
    pub const DGRAM = 2;
    pub const RAW = 3;
    pub const RDM = 4;
    pub const SEQPACKET = 5;

    /// WARNING: this flag is not supported by windows socket functions directly,
    ///          it is only supported by std.os.socket. Be sure that this value does
    ///          not share any bits with any of the `SOCK` values.
    pub const CLOEXEC = 0x10000;
    /// WARNING: this flag is not supported by windows socket functions directly,
    ///          it is only supported by std.os.socket. Be sure that this value does
    ///          not share any bits with any of the `SOCK` values.
    pub const NONBLOCK = 0x20000;
}