NatMappingScheme

GameSpy SDK

NatMappingScheme

Common NAT port allocation schemes.

typedef enum 
{
unrecognized,    
private_as_public,    
consistent_port,    
incremental,    
mixed    
} NatMappingScheme;

Constants

unrecognized
The mapping scheme is not recognized. This could also mean it is a random scheme.
private_as_public
The public port is the same as the private port.
consistent_port
The same public port is being used for all requests from the same private port.
incremental
Each new mapped port is an increment over the previous one.
mixed
A mixed mapping scheme is being used.

Section Reference: Gamespy NAT Negotiation SDK

See Also: NAT