ws2_32: Add a comment to ioctlsocket about 'bogus' ioctl 0x667e.

Dmitry Timoshkov dmitry at codeweavers.com
Sun Oct 1 10:27:38 CDT 2006


Hello,

while inspecting socket IOCTL command values, I noticed a comment
in the 'default' case of WS_ioctlsocket about bogus ioctl 0x667e
which Netscape sends, and looked more closely what is that.

Changelog:
    ws2_32: Add a comment to ioctlsocket about 'bogus' ioctl 0x667e.

--- cvs/hq/wine/dlls/ws2_32/socket.c	Mon Sep 11 08:07:32 2006
+++ wine/dlls/ws2_32/socket.c	Sun Oct 01 15:22:02 2006
@@ -2332,6 +2332,9 @@ int WINAPI WS_ioctlsocket(SOCKET s, long
 
     default:
         /* Netscape tries hard to use bogus ioctl 0x667e */
+        /* FIXME: 0x667e above is ('f' << 8) | 126, and is a low word of
+         * FIONBIO (_IOW('f', 126, u_long)), how that should be handled?
+         */
         WARN("\tunknown WS_IOCTL cmd (%08lx)\n", cmd);
         break;
     }





More information about the wine-patches mailing list