Changeset 2502

Show
Ignore:
Timestamp:
05/14/99 07:29:43 (15 years ago)
Author:
ucacoxh
Message:

- Added message box for winsock initialization failure.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • rat/trunk/win32.c

    r2432 r2502  
    158158    if (WSAStartup(WS_VERSION_TWO, &WSAdata) != 0 && 
    159159        WSAStartup(WS_VERSION_ONE, &WSAdata) != 0) { 
    160         perror("Windows Sockets init failed"); 
    161         abort(); 
     160        MessageBox(NULL, "Windows Socket initialization failed. TCP/IP stack\nis not installed or is damaged.", "Network Error", MB_OK | MB_ICONERROR); 
     161        exit(-1); 
    162162    } 
    163163