linking programs with winsock API - Problems
krishna_unf@bellsouth.net
krishna_unf@bellsouth.net
Mon Nov 22 02:22:00 GMT 2004
Hi,
I am new to using the winsock programs. I am having problem in creating the runtime binaries using the socket programming with winsock API.
The error message received on the console is :- cannot find -lwinsock32
The command used to compile and like the program:
$ gcc -o winclient.exe ipv4winclient.c -lwinsock32
Error message received:
/usr/lib/gcc-lib/i686-pc-cygwin/3.3.3/../../../../i686-pc-cygwin/bin/ld: cannot find -lwinsock32
collect2: ld returned 1 exit status
Any help to use cygwin for windows networking exmaples is very much appreciated.
Thanks,
Krishna
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
More information about the Cygwin
mailing list