rust-lang-nursery / rust-cookbook

https://rust-lang-nursery.github.io/rust-cookbook
Creative Commons Zero v1.0 Universal
2.26k stars 284 forks source link

net/server/listen-unused: simpler and with IPv6 support. #690

Open kmkaplan opened 9 months ago

kmkaplan commented 9 months ago

Uses ToSocketAddrs' trait to have any of IPv4 or IPv6 as supported by the OS, or even DNS names.