NAT Traversal for UNET
Provides NAT punch-through, automatic port forwarding, and other useful features on top of Unity's UNET HLAPI networking system.
NATTraversal Namespace Reference

Classes

class  ConnectionInfoMessage
 Defines the structure of the ConnectionInfoMessage that is sent by clients to the server when they connect. More...
 
class  ExternalNetworkConnection
 Connections used by the NetworkManager to allow the NetworkServer to accept incoming connections on more than one port. More...
 
class  ExternalServer
 Used by the NetworkManager to allow the NetworkServer to accept incoming connections on more than one port. More...
 
class  ExtraPeerInfoListMessage
 Used for host migration. Contains a list of ExtraPeerInfoMessages. More...
 
class  ExtraPeerInfoMessage
 Used for host migration. Extends the built in PeerInfoMessage to add internalIP and guid. More...
 
class  MigrationManager
 Extends UNet's NetworkMigrationManager to work with punchthrough connections. More...
 
class  MsgType
 Define the message type used for sending connection info More...
 
class  NATHelper
 Provides methods for performing NAT punch-through and automatic port forwarding. More...
 
class  NetworkConnectionExtension
 
class  NetworkManager
 Extends Unity's built in NetworkManager, adding NAT punch-through, automatic port forwarding, and some other nice features. More...
 
class  Util
 

Enumerations

enum  ConnectionType { DIRECT = 1, PUNCHTHROUGH = 2, RELAY = 4, ANY = DIRECT | PUNCHTHROUGH | RELAY }
 
enum  Protocol { Tcp = 0, Udp = 1, Both = 2 }
 The protocol on which to perform port-forwarding. More...
 

Enumeration Type Documentation

◆ Protocol

enum Protocol
strong

The protocol on which to perform port-forwarding.