embedded-nal
embedded-nal copied to clipboard
Bind to IP
Currently the docs for bind state:
Create a new TCP/UDP socket and bind it to the specified local port.
While trying to implement UdpServer / UdpFullStack for std-embedded-nal I noticed that usually these sockets are also bound to specific IPs / interfaces:
pub fn bind<A: ToSocketAddrs>(addr: A) -> Result<UdpSocket>
How is this supposed to work with the embedded_nal traits?