This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project. See the Cygwin home page for more information.
Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: gcc and native winsock2


Alain Leroy wrote:
> 
> I try to use Winsock2 with gcc, especially the new functions
> WSASocket(), WSAConnect and so on with the WSAXxxx.
> ld says that it doesn't know these functions.
> 
> I'v read the FAQ, I've tried -mno-cygwin option, but it
> continues to see nothing of ws2_32.dll or wsock32.dll
> or other dll from winnt\system32.
> I've tried the -t ld option, it's the same.
> 
> Is there somebody somewhere????

There is no winsock2 header and no import library.

Anders Norlander

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com