Expand description
Simple UDP-only STUN client for resolving external IP address:port behind NAT.
Structs§
- Stun
Client - Options for querying STUN server
Enums§
- Error
- The error type for any
StunClient
operations
Functions§
- just_
give_ me_ the_ udp_ socket_ and_ its_ external_ address - 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.