[][src]Function over_there_wire::net::udp::connect

pub fn connect(addr: SocketAddr) -> Result<UdpSocket>

Connects to a remote address by binding to a local, ephemeral port and then issuing connect(...) on the socket to filter out all data not coming from the specified address

NOTE: This seems to be equivalent to a non-bound socket doing a connect, which could look like UdpSocket::bind("0.0.0.0:0").connect(...)