udp_sas
Source address selection for UDP sockets in Rust
This crate provides an extension trait for std::net::UdpSocket that supports
source address selection for outgoing UDP datagrams. This is useful for
implementing a UDP server that binds multiple network interfaces.
The implementation relies on socket options
IP_PKTINFO (for IPv4) and
IPV6_RECVPKTINFO
(for IPv6).