forked from tokio-rs/tokio-uring
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
net: UDP socket gets local_addr, read_fixed and write_fixed (tokio-rs…
…#189) The type UdpSocket gets methods local_addr, read_fixed and write_fixed. local_addr is useful when binding the socket to 127.0.0.1:0 to be able to report what port the OS assigned. The read_fixed and write_fixed are useful, like read and write, when the UDP socket has been connected to an address.
- Loading branch information
Showing
1 changed file
with
65 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