Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com X-Originating-IP: [139.62.32.201] From: To: Subject: linking programs with winsock API - Problems Date: Sun, 21 Nov 2004 21:21:50 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Message-Id: <20041122022150.NEBH2430.imf22aec.mail.bellsouth.net@mail.bellsouth.net> 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/