Crate stunclient[][src]

Expand description

Simple UDP-only STUN client for resolving external IP address:port behind NAT.


Options for querying STUN server


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.

Type Definitions

anyhow-based error handling. File an issue if you want proper thiserror-based errors.