Crate stunclient[][src]

Expand description

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

Structs

Options for querying STUN server

Functions

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.