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]

gcc and native winsock2




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????

Thanks in advance.

Alain


--
Alain Leroy                   | tel : +33 (0) 2 98 00 14 14
ENST de Bretagne              | fax : +33 (0) 2 98 00 12 82
Technopole de Brest Iroise    | mailto:Alain.Leroy@enst-bretagne.fr
BP 832.  29285 BREST Cedex    | http://www-info.enst-bretagne.fr/~leroy

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