From: mka AT redes DOT int DOT com DOT mx (Michael Anderson) Subject: libwinsock.a? Using mu own socket routines ...? 5 Jun 1997 12:33:53 -0700 Approved: cygnus DOT gnu-win32 AT cygnus DOT com Distribution: cygnus Message-ID: <3395ECF3.78233BBC.cygnus.gnu-win32@redes.int.com.mx> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Mailer: Mozilla 3.01 (X11; I; Linux 2.0.12 i586) Original-To: gnu-win32 AT cygnus DOT com Original-Sender: owner-gnu-win32 AT cygnus DOT com I have done my own socket mappings and wish to use them instead of the provided cygwin32_socket() family of routines in sys/socket.h and netdb.h. When I comment-out the mapping defines in these two files, the compiler complains that socket(), accept(), etc are unresolved references. My code has correct prototypes. If I add -lwsock32 to the compile line, only WSAStartup() and WSACleanup are resolved. The FAQ mentions a libwinsock.a library but I don't have it in either the binary or source distribution. Where are the real socket functions and how can I link against them? Thanks, -- Mike Anderson mka AT redes DOT int DOT com DOT mk Guanajuato, GTO, Mexico - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request AT cygnus DOT com" with one line of text: "help".