From: sos AT prospect DOT com DOT ru (Sergey Okhapkin) Subject: RE: Sockets in gnu-win32 3 Dec 1996 02:33:53 -0800 Sender: daemon AT cygnus DOT com Approved: cygnus DOT gnu-win32 AT cygnus DOT com Distribution: cygnus Message-ID: <01BBE111.72BE0510.cygnus.gnu-win32@bbs.prospect.com.ru> Original-To: Geoffrey Noer , "'David Makepeace'" Original-Cc: Sergey Okhapkin , "gnu-win32 AT cygnus DOT com" Encoding: 21 TEXT Original-Sender: owner-gnu-win32 AT cygnus DOT com David Makepeace wrote: >Would it be possible to change cygwin.dll to link to winsock.dll via >LoadLibrary() and GetProcAddress()? It is not necessary. > >This way cygwin.dll could export foo instead of cygwin32_foo, those nasty >#defines could go and there would be no problems with multiple >definitions. If necessary, it would even be possible to use WinSock >directly (by putting it on the link line before -lcygwin) without any >problems - other than the usual WinSock problems. :-) There aren't any problems with function names, because cygwin.dll will export unix names of socket functions (socket(), for example), but wsock32.dll exports WINAPI-compatible names (socket AT 12()). Sergey Okhapkin Moscow, Russia - For help on using this list, send a message to "gnu-win32-request AT cygnus DOT com" with one line of text: "help".