async-net
async-net copied to clipboard
Async networking primitives for TCP/UDP/Unix communication
This PR adds a new feature, `io_safety`, which requires Rust 1.63. With this feature, the types in this crate implement `AsFd/AsSocket` and `TryFrom`. See also: sunfishcode/io-lifetimes#38 Should I also implement...
I'd like to have a `TcpSocket` implementation like [in Tokio](https://docs.rs/tokio/1.11.0/tokio/net/struct.TcpSocket.html) (I don't really want to depend on the Tokio runtime just for this feature). I know that there are workarounds,...
We should copy the API from the standard library (still an unstable feature at the time of writing this): https://github.com/rust-lang/rust/issues/42839
Right now we use `blocking` to run `getaddrinfo`, on a threadpool, but we can do better. I created [`async-dns`](https://github.com/notgull/async-dns) as a way of doing DNS asynchronously. It needs improvements in...
Hi, I found that `UdpSocket::peek_from` returns a weird error when using the IPv6 address on MacOS (I also tested on Linux, Linux works, windows not sure). Here is the test...