GT2Result

GameSpy SDK

GT2Result

Result of a GT2 operation. Check individual function definitions to see possible results.

typedef enum 
{
GT2Success,    
GT2OutOfMemory,    
GT2Rejected,    
GT2NetworkError,    
GT2AddressError,    
GT2DuplicateAddress,    
GT2TimedOut,    
GT2NegotiationError    
} GT2Result;

Constants

GT2Success
Success.
GT2OutOfMemory
Ran out of memory.
GT2Rejected
Attempt rejected.
GT2NetworkError
Networking error (could be local or remote).
GT2AddressError
Invalid or unreachable address.
GT2DuplicateAddress
A connection was attempted to an address that already has a connection on the socket.
GT2TimedOut
Timeout reached.
GT2NegotiationError
Error negotiating with the remote side.

Section Reference: Gamespy Transport SDK