delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1999/09/21/16:28:54

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT sourceware DOT cygnus DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT sourceware DOT cygnus DOT com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sourceware DOT cygnus DOT com>
List-Help: <mailto:cygwin-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs>
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
From: Chris Faylor <cgf AT cygnus DOT com>
Date: Tue, 21 Sep 1999 16:28:33 -0400
To: Earnie Boyd <earnie_boyd AT yahoo DOT com>
Cc: Apsmms001 AT aol DOT com, cygwin users <cygwin AT sourceware DOT cygnus DOT com>
Subject: Re: help.... socket
Message-ID: <19990921162833.C1417@cygnus.com>
Reply-To: cygwin AT sourceware DOT cygnus DOT com
Mail-Followup-To: Earnie Boyd <earnie_boyd AT yahoo DOT com>, Apsmms001 AT aol DOT com,
cygwin users <cygwin AT sourceware DOT cygnus DOT com>
References: <19990921191535 DOT 19718 DOT rocketmail AT web129 DOT yahoomail DOT com>
Mime-Version: 1.0
X-Mailer: Mutt 0.95.6i
In-Reply-To: <19990921191535.19718.rocketmail@web129.yahoomail.com>; from Earnie Boyd on Tue, Sep 21, 1999 at 12:15:35PM -0700

On Tue, Sep 21, 1999 at 12:15:35PM -0700, Earnie Boyd wrote:
>--- Apsmms001 AT aol DOT com wrote:
>> earnie,
>> 
>> I need your assistance
>> 
>> How come this one work on the unix machine and does not work on the bash.
>> I am still using the b19.
>> 
>> gcc server.c -o server -lsocket -lnsl
>> 
>> Message:  /cygnus/b19/H-I386~1/i386-cygwin32/bin/ld.exe: cannot open 
>> -lsocket:   no such file or directory.
>> 
>
>I believe it is the fact that UNIX sockets don't exist and that you'll have to
>use the Winsock.  Search the archives for other posts to this.
>
>Anyone else have a better answer?

Yes.  There is no "libsocket.a" library for cygwin.  It's not required.

It's not a standard library and is not available on a number of UNIX
platforms.

-chris

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019