SDLNet_GetError
Name
SDLNet_GetError -- Returns the last error.
Synopsis
char *SDLNet_GetError();
Description
SDLNet_GetError is the same as SDL_GetError, which returns the last error set as a string which you may use to tell the user what happened when an error status has been returned from an SDLNet_function.
Return Value
Returns a char pointer (string) containing a human readable version or the reason for the last error that occured.
Example
printf("Oh My Goodness, an error : %s", SDLNet_GetError());Errors that are posible:
Accept() failed
Client Side: Couldn't Connect to Remote Host <- mostly, the problem is that the server isn't opened or that the client can't get through to the server because of a firewall.
