Subject: Re: Sockets in gnu-win32
From: [email-masked] (Geoffrey Noer)

2 Dec 1996 12:03:09 -0800
Sender: [email-masked]
Approved: [email-masked]
Distribution: cygnus
Message-ID: <[email-masked]>
Content-Type: text
Original-To: [email-masked] (Sergey Okhapkin)
Original-Cc: [email-masked], [email-masked]
In-Reply-To: <[email-masked]> from "Sergey Okhapkin" at Nov 25, 96 10:59:19 am
X-Mailer: ELM [version 2.4 PL23]
Content-Length: 622       
Original-Sender: [email-masked]

> As for me, the best solution is to export cygwin functions with normal 
> names (without cygwin32_ prefix). If one choose to use WinSock, he will 
> have to add -lwsock32 to gcc command line.
> Sergey Okhapkin
> Moscow, Russia

The problem with this is that if we export the cygwin functions without the
cygwin32_ prefix in the dll, nobody can use WinSock while still using other
functions in the dll (they'd get multiple definition problems at link
time). As things stand, you can use the cygwin.dll and WinSock by
undefining the mapping from cygwin32_foo to foo in the header files.

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