winsock on cygwin

Steven Edwards Steven_Ed4153 at yahoo.com
Wed Apr 30 20:42:16 CDT 2003


I dont know the proper way to test for this so I figured I would send it 
to wine-devel for comment also


Index: socket.c
===================================================================
RCS file: /home/wine/wine/dlls/winsock/socket.c,v
retrieving revision 1.125
diff -u -r1.125 socket.c
--- socket.c    9 Apr 2003 23:33:35 -0000    1.125
+++ socket.c    1 May 2003 01:40:53 -0000
@@ -275,6 +275,11 @@
     { 0, 0 }
 };
 
+/*
+ * IP_HDRINCL fails is broken on Windows.
+ * See http://support.microsoft.com/default.aspx?scid=kb;en-us;Q257460
+ */
+
 static const int ws_ip_map[][2] =
 {
     MAP_OPTION( IP_MULTICAST_IF ),
@@ -283,7 +288,9 @@
     MAP_OPTION( IP_ADD_MEMBERSHIP ),
     MAP_OPTION( IP_DROP_MEMBERSHIP ),
     MAP_OPTION( IP_OPTIONS ),
+#ifndef __CYGWIN__
     MAP_OPTION( IP_HDRINCL ),
+#endif
     MAP_OPTION( IP_TOS ),
     MAP_OPTION( IP_TTL ),
     { 0, 0 }




More information about the wine-devel mailing list