-
Notifications
You must be signed in to change notification settings - Fork 714
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Removing the need for the net2 crate. On Unix platforms (expect for iOS, macOS and Solaris) this reduces the number of system calls from four to two, on iOS, macOS and Solaris this reduces it to three system calls. # Windows net initialization The standard library calls WSAStartup for us, ensuring (with an assert) that the return value is ok. This means that we can't initialise it ourselves and need to let the standard library do it for us. To work around this we create and drop a UdpSocket (from std::net).
- Loading branch information
1 parent
2f688de
commit f30debe
Showing
18 changed files
with
435 additions
and
399 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.