Index: dlls/winsock/socket.c =================================================================== RCS file: /home/wine/wine/dlls/winsock/socket.c,v retrieving revision 1.59 diff -u -r1.59 socket.c --- dlls/winsock/socket.c 2001/08/24 21:33:58 1.59 +++ dlls/winsock/socket.c 2001/08/30 15:39:11 @@ -2175,9 +2156,15 @@ /* check the socket type */ switch(type) { - case SOCK_STREAM: - case SOCK_DGRAM: - case SOCK_RAW: break; + case WS_SOCK_STREAM: + type=SOCK_STREAM; + break; + case WS_SOCK_DGRAM: + type=SOCK_STREAM; + break; + case WS_SOCK_RAW: + type=SOCK_STREAM; + break; default: SetLastError(WSAESOCKTNOSUPPORT); return INVALID_SOCKET; }