pub fn stun_bind(
sock: &UdpSocket,
server: SocketAddr,
timeout: Duration,
) -> Result<SocketAddr, String>Expand description
Send one Binding request on sock toward server and parse XOR-MAPPED-ADDRESS.
pub fn stun_bind(
sock: &UdpSocket,
server: SocketAddr,
timeout: Duration,
) -> Result<SocketAddr, String>Send one Binding request on sock toward server and parse XOR-MAPPED-ADDRESS.