We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 5936ecc + 78d3d37 commit 3f4d6d7Copy full SHA for 3f4d6d7
library/std/src/sys/windows/c.rs
@@ -234,6 +234,7 @@ pub const SD_RECEIVE: c_int = 0;
234
pub const SD_SEND: c_int = 1;
235
pub const SOCK_DGRAM: c_int = 2;
236
pub const SOCK_STREAM: c_int = 1;
237
+pub const SOCKET_ERROR: c_int = -1;
238
pub const SOL_SOCKET: c_int = 0xffff;
239
pub const SO_RCVTIMEO: c_int = 0x1006;
240
pub const SO_SNDTIMEO: c_int = 0x1005;
0 commit comments