[][src]Crate ninat

Deal with NAT traversal using Nintendo service.

Structs

Datagram

Represents an UDP datagram, containing a TCP stream keeping the SOCKS proxy alive and an UDP socket sending and receiving data.

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

lookup_host_v4

Looks up the IPv4 address for a given hostname via DNS.

nat_test

Performs a NAT test.

test

Performs a test.