Function stunclient::just_give_me_the_udp_socket_and_its_external_address [−][src]
pub fn just_give_me_the_udp_socket_and_its_external_address(
) -> (UdpSocket, SocketAddr)
Expand description
Super-simple function with everything hard coded:
just return UdpSocket
and its external address in one step
May block, may panic, uses public Google STUN server.