[][src]Crate stunclient

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

Structs

StunClient

Options for querying STUN server

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.

Type Definitions

Error

Primitive error handling used in this library. File an issue if you don't like it.