Photon Fusion 1.1.9

Enumerations
Fusion.Sockets.Stun Namespace Reference

Enumerations

enum  NATType : byte
 Specifies UDP network type. More...
 

Enumeration Type Documentation

◆ NATType

enum NATType : byte

Specifies UDP network type.

Enumerator
Invalid 

Invalid NAT Type.

UdpBlocked 

UDP is always blocked.

OpenInternet 

No NAT, public IP, no firewall.

FullCone 

A full cone NAT is one where all requests from the same internal IP address and port are mapped to the same external IP address and port. Furthermore, any external host can send a packet to the internal host, by sending a packet to the mapped external address.

Symmetric 

A symmetric NAT is one where all requests from the same internal IP address and port, to a specific destination IP address and port, are mapped to the same external IP address and port. If the same host sends a packet with the same source address and port, but to a different destination, a different mapping is used. Furthermore, only the external host that receives a packet can send a UDP packet back to the internal host.