AddressMapping

GameSpy SDK

AddressMapping

Internal and external address pairing for an observed network address translation.

typedef struct 
{
unsigned int privateIp;
unsigned short privatePort;
unsigned int publicIp;
unsigned short publicPort;
} AddressMapping;

Members

privateIp
Internal IP address.
privatePort
Internal port number.
publicIp
External IP address.
publicPort
External port number.

Section Reference: Gamespy NAT Negotiation SDK

See Also: NAT