This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: help.... socket


So how do I make this thing work. What are my parameters?
Do I need to set some path?

Thanks   alex


In a message dated 9/21/99 3:26:29 PM Central Daylight Time, cgf@cygnus.com 
writes:

<< Subj:     Re: help.... socket
 Date:  9/21/99 3:26:29 PM Central Daylight Time
 From:  



 Reply-to:  <A 
HREF="mailto:cygwin@sourceware.cygnus.com">cygwin@sourceware.cygnus.com</A>
 To:    earnie_boyd@yahoo.com (Earnie Boyd)
 CC:    Apsmms001@aol.com, cygwin@sourceware.cygnus.com (cygwin users)
 
 On Tue, Sep 21, 1999 at 12:15:35PM -0700, Earnie Boyd wrote:
 >--- Apsmms001@aol.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
 
 
 ----------------------- Headers --------------------------------
 Return-Path: <cgf@cygnus.com>
 Received: from  rly-zc05.mx.aol.com (rly-zc05.mail.aol.com [172.31.33.5]) by 
air-zc02.mail.aol.com (v60.28) with ESMTP; Tue, 21 Sep 1999 16:26:29 -0400
 Received: from  cygnus.com (runyon.cygnus.com [205.180.230.5]) by 
rly-zc05.mx.aol.com (v61.9) with ESMTP; Tue, 21 Sep 1999 16:26:23 2000
 Received: from rtl.cygnus.com (rtl.cygnus.com [205.180.230.21])
    by runyon.cygnus.com (8.8.7-cygnus/8.8.7) with ESMTP id NAA01393;
    Tue, 21 Sep 1999 13:26:18 -0700 (PDT)
 Received: (from cgf@localhost)
    by rtl.cygnus.com (8.9.3/8.8.7) id QAA01456;
    Tue, 21 Sep 1999 16:28:33 -0400
 From: Chris Faylor <cgf@cygnus.com>
 Date: Tue, 21 Sep 1999 16:28:33 -0400
 To: Earnie Boyd <earnie_boyd@yahoo.com>
 Cc: Apsmms001@aol.com, cygwin users <cygwin@sourceware.cygnus.com>
 Subject: Re: help.... socket
 Message-ID: <19990921162833.C1417@cygnus.com>
 Reply-To: cygwin@sourceware.cygnus.com
 Mail-Followup-To: Earnie Boyd <earnie_boyd@yahoo.com>, Apsmms001@aol.com,
    cygwin users <cygwin@sourceware.cygnus.com>
 References: <19990921191535.19718.rocketmail@web129.yahoomail.com>
 Mime-Version: 1.0
 Content-Type: text/plain; charset=us-ascii
 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
 
  >>

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]