Skip to content
Snippets Groups Projects
user avatar
bors authored
add some socket functions and a SOCKET type for windows

This PR adds a few of the socket functions for windows. Some targets use the `stdcall` calling convention for these functions, so I put them in an `extern "system"` block ([see the nomicon](https://doc.rust-lang.org/nomicon/ffi.html#foreign-calling-conventions)).
26ffb5c1
History
Name Last commit Last update