| Platform SDK: Logon Authentication | 
//-------------------------------------------------------------- 
//     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