Skip to content

Commit

Permalink
Refactor windows sockets impl methods
Browse files Browse the repository at this point in the history
  • Loading branch information
mjptree committed May 28, 2021
1 parent 6f9df55 commit 78d3d37
Show file tree
Hide file tree
Showing 2 changed files with 173 additions and 133 deletions.
1 change: 1 addition & 0 deletions library/std/src/sys/windows/c.rs
Expand Up @@ -234,6 +234,7 @@ pub const SD_RECEIVE: c_int = 0;
pub const SD_SEND: c_int = 1;
pub const SOCK_DGRAM: c_int = 2;
pub const SOCK_STREAM: c_int = 1;
pub const SOCKET_ERROR: c_int = -1;
pub const SOL_SOCKET: c_int = 0xffff;
pub const SO_RCVTIMEO: c_int = 0x1006;
pub const SO_SNDTIMEO: c_int = 0x1005;
Expand Down

0 comments on commit 78d3d37

Please sign in to comment.