forked from meh/rust-tun
-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add async unix send/recv apis for unix
Since unix uses AsyncFd from tokio, it is easier to wait for Ready on AsyncFd and call sync send/recv apis This commit does not take care of windows, which is not as straight-forward as posix variants.
- Loading branch information
1 parent
f7610f6
commit 7e6c4bc
Showing
2 changed files
with
29 additions
and
0 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