SBError

GameSpy SDK

SBError

Error codes that can be returned from Server Browsing functions.

typedef enum 
{
sbe_noerror,    
sbe_socketerror,    
sbe_dnserror,    
sbe_connecterror,    
sbe_dataerror,    
sbe_allocerror,    
sbe_paramerror    
} SBError;

Constants

sbe_noerror
No error has occurred.
sbe_socketerror
A socket function has returned an unexpected error.
sbe_dnserror
DNS lookup of master address failed.
sbe_connecterror
Connection to master server failed.
sbe_dataerror
Invalid data was returned from master server.
sbe_allocerror
Memory allocation failed.
sbe_paramerror
An invalid parameter was passed to a function.

Section Reference: Gamespy Server Browsing SDK