public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Re: help.... socket
@ 1999-09-21 12:16 Earnie Boyd
  1999-09-21 12:40 ` David Most
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Earnie Boyd @ 1999-09-21 12:16 UTC (permalink / raw)
  To: Apsmms001, earnie_boyd; +Cc: cygwin users

--- 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?
===
Earnie Boyd < mailto:earnie_boyd@yahoo.com >

Newbies, please visit
< http://www.freeyellow.com/members5/gw32/index.html >

(If you respond to the list, then please don't cc me)
__________________________________________________
Do You Yahoo!?
Bid and sell for free at http://auctions.yahoo.com

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

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: help.... socket
  1999-09-21 12:16 help.... socket Earnie Boyd
@ 1999-09-21 12:40 ` David Most
  1999-09-30 23:42   ` David Most
  1999-09-21 13:27 ` Chris Faylor
  1999-09-30 23:42 ` Earnie Boyd
  2 siblings, 1 reply; 8+ messages in thread
From: David Most @ 1999-09-21 12:40 UTC (permalink / raw)
  To: earnie_boyd, Apsmms001, earnie_boyd; +Cc: cygwin users

I'm using the bsd sockets with B20.1, and I believe they were working in
b19 as well.

Try adding:
-L/cygnus/b19/H-I386~1/i386-cygwin32/lib


At 12:15 PM 09/21/1999 -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?
>===
>Earnie Boyd < mailto:earnie_boyd@yahoo.com >
>
>Newbies, please visit
>< http://www.freeyellow.com/members5/gw32/index.html >
>
>(If you respond to the list, then please don't cc me)
>__________________________________________________
>Do You Yahoo!?
>Bid and sell for free at http://auctions.yahoo.com
>
>--
>Want to unsubscribe from this list?
>Send a message to cygwin-unsubscribe@sourceware.cygnus.com
>


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

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: help.... socket
  1999-09-21 12:16 help.... socket Earnie Boyd
  1999-09-21 12:40 ` David Most
@ 1999-09-21 13:27 ` Chris Faylor
  1999-09-30 23:42   ` Chris Faylor
  1999-09-30 23:42 ` Earnie Boyd
  2 siblings, 1 reply; 8+ messages in thread
From: Chris Faylor @ 1999-09-21 13:27 UTC (permalink / raw)
  To: Earnie Boyd; +Cc: Apsmms001, 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

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

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: help.... socket
  1999-09-21 12:40 ` David Most
@ 1999-09-30 23:42   ` David Most
  0 siblings, 0 replies; 8+ messages in thread
From: David Most @ 1999-09-30 23:42 UTC (permalink / raw)
  To: earnie_boyd, Apsmms001, earnie_boyd; +Cc: cygwin users

I'm using the bsd sockets with B20.1, and I believe they were working in
b19 as well.

Try adding:
-L/cygnus/b19/H-I386~1/i386-cygwin32/lib


At 12:15 PM 09/21/1999 -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?
>===
>Earnie Boyd < mailto:earnie_boyd@yahoo.com >
>
>Newbies, please visit
>< http://www.freeyellow.com/members5/gw32/index.html >
>
>(If you respond to the list, then please don't cc me)
>__________________________________________________
>Do You Yahoo!?
>Bid and sell for free at http://auctions.yahoo.com
>
>--
>Want to unsubscribe from this list?
>Send a message to cygwin-unsubscribe@sourceware.cygnus.com
>


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

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: help.... socket
  1999-09-21 13:27 ` Chris Faylor
@ 1999-09-30 23:42   ` Chris Faylor
  0 siblings, 0 replies; 8+ messages in thread
From: Chris Faylor @ 1999-09-30 23:42 UTC (permalink / raw)
  To: Earnie Boyd; +Cc: Apsmms001, 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

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

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: help.... socket
  1999-09-21 12:16 help.... socket Earnie Boyd
  1999-09-21 12:40 ` David Most
  1999-09-21 13:27 ` Chris Faylor
@ 1999-09-30 23:42 ` Earnie Boyd
  2 siblings, 0 replies; 8+ messages in thread
From: Earnie Boyd @ 1999-09-30 23:42 UTC (permalink / raw)
  To: Apsmms001, earnie_boyd; +Cc: cygwin users

--- 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?
===
Earnie Boyd < mailto:earnie_boyd@yahoo.com >

Newbies, please visit
< http://www.freeyellow.com/members5/gw32/index.html >

(If you respond to the list, then please don't cc me)
__________________________________________________
Do You Yahoo!?
Bid and sell for free at http://auctions.yahoo.com

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

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: help.... socket
  1999-09-22  6:06 Apsmms001
@ 1999-09-30 23:42 ` Apsmms001
  0 siblings, 0 replies; 8+ messages in thread
From: Apsmms001 @ 1999-09-30 23:42 UTC (permalink / raw)
  To: Chris Faylor, cygwin, earnie_boyd, David Most

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

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: help.... socket
@ 1999-09-22  6:06 Apsmms001
  1999-09-30 23:42 ` Apsmms001
  0 siblings, 1 reply; 8+ messages in thread
From: Apsmms001 @ 1999-09-22  6:06 UTC (permalink / raw)
  To: Chris Faylor, cygwin, earnie_boyd, David Most

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

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~1999-09-30 23:42 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-09-21 12:16 help.... socket Earnie Boyd
1999-09-21 12:40 ` David Most
1999-09-30 23:42   ` David Most
1999-09-21 13:27 ` Chris Faylor
1999-09-30 23:42   ` Chris Faylor
1999-09-30 23:42 ` Earnie Boyd
1999-09-22  6:06 Apsmms001
1999-09-30 23:42 ` Apsmms001

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).