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: [211.28.72.198] X-Originating-Email: [davoooooo AT hotmail DOT com] From: "David None" To: cygwin AT cygwin DOT com Subject: RE: Error compiling code using winsock functions Date: Fri, 04 Jul 2003 11:57:59 +0000 Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: X-OriginalArrivalTime: 04 Jul 2003 11:57:59.0666 (UTC) FILETIME=[83A89D20:01C34223] Note-from-DJ: This may be spam Hi there, thanks for the reply, but I've tried the methods suggested (just using windows.h and #define Win32_Winsock), also as Win32_Winsock is deprecated, I also tried defining __USE_W32_SOCKETS but I'm still receiving the same error: I get the following error: "iphdrinc.o(.text+0x820):iphdrinc.c: undefined reference to '_WSASocketA AT 24' collect2: ld returned 1 exit status" hopefully some more ideas are floating around ? =) well thankyou again and I hope to hear from someone soon =) regards, David. _________________________________________________________________ MSN 8 with e-mail virus protection service: 2 months FREE* http://join.msn.com/?page=features/virus -- 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/