Subject: RE: Sockets in gnu-win32
From: [email-masked] (Sergey Okhapkin)

3 Dec 1996 02:33:53 -0800
Sender: [email-masked]
Approved: [email-masked]
Distribution: cygnus
Message-ID: <[email-masked]>
Original-To: Geoffrey Noer <[email-masked]>,
        "'David Makepeace'"
	 <[email-masked]>
Original-Cc: Sergey Okhapkin <[email-masked]>,
        "[email-masked]"
	 <[email-masked]>
Encoding: 21 TEXT
Original-Sender: [email-masked]

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@12()).

Sergey Okhapkin
Moscow, Russia

-
For help on using this list, send a message to
"[email-masked]" with one line of text: "help".