Platform SDK: Logon Authentication

Example Code: HandleError

//-------------------------------------------------------------- 
//     Define HandleError()

void HandleError(char *s)
{
     printf("An error occurred in running the program.\n");
     printf("%s \n",s);
     printf("Last error was %d \n",WSAGetLastError);
     exit(1);
} //End of HandleError