pub fn make_match(
    socket: &UdpSocket,
    addr1: SocketAddr,
    addr2: SocketAddr
) -> Result<(), Error>
Expand description

Sends addr1’s IP address and external port to addr2 using socket and vice versa.

Errors

Returns any error produced by socket.send_to(...), or an InvalidInput if one of the supplied addresses is ipv4 and the other is ipv6