Index: cygwin/net.cc =================================================================== RCS file: /cvs/src/src/winsup/cygwin/net.cc,v retrieving revision 1.206 diff -u -p -r1.206 net.cc --- cygwin/net.cc 5 Apr 2006 16:53:12 -0000 1.206 +++ cygwin/net.cc 19 May 2006 04:24:05 -0000 @@ -578,7 +578,7 @@ cygwin_socket (int af, int type, int pro debug_printf ("socket (%d, %d, %d)", af, type, protocol); - soc = socket (AF_INET, type, af == AF_LOCAL ? 0 : protocol); + soc = WSASocket (AF_INET, type, af == AF_LOCAL ? 0 : protocol, 0, 0, 0); if (soc == INVALID_SOCKET) {