Mail Archives: cygwin/1996/12/03/02:33:53
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".
- Raw text -