Skip to main content

Crate stunxy

Crate stunxy 

Source
Expand description

Deal with NAT traversal using STUN.

Structs§

Datagram
Represents an UDP datagram, containing a TCP stream keeping the SOCKS proxy alive and an UDP socket sending and receiving data.
NatTestResult
Represents the result of a NAT test.
Socket
Represents an UDP socket.

Enums§

NatType
Enumeration of NAT types.

Traits§

RW
Represents an socket which can send data to and receive data from a certain address.

Functions§

nat_test
Executes a NAT test.
stun_test_1
Executes a STUN test I.
stun_test_2
Executes a STUN test II.
stun_test_3
Executes a STUN test III.