Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@sources.redhat.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@sources.redhat.com>
List-Help: <mailto:cygwin-help@sources.redhat.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@sources.redhat.com
Delivered-To: mailing list cygwin@sources.redhat.com
Date: Sat, 28 Jul 2001 00:49:23 -0400
From: Christopher Faylor <cgf@redhat.com>
To: cygwin@cygwin.com
Subject: Re: FW: Does cygwin tool kit Support threads
Message-ID: <20010728004923.A5110@redhat.com>
Reply-To: cygwin@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
References: <996294770.8470.1.camel@lifelesswks> <000301c1171e$d9f73880$85602141@cfl.rr.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.3.11i
In-Reply-To: <000301c1171e$d9f73880$85602141@cfl.rr.com>; from anjani@cfl.rr.com on Sat, Jul 28, 2001 at 12:36:21AM -0400

On Sat, Jul 28, 2001 at 12:36:21AM -0400, Anjani Prasad Achanta wrote:
>
>	I didn't find socket.h include file and no libsocket library in
>the standard directories (I mean /usr/include and /usr/lib) Moreover no
>man pages for socket functions. 

There *is* a /usr/include/sys/socket.h.  You don't need a special library.
You don't need one on linux either.

>	But I have pthread include file - not thread library. So this
>also doesn't work. 

You don't need a special library.  It's part of cygwin.

>	So obviously when I compile, gcc says couldn't find socket.h
>file. 
>	Is the standard UNIX directory format followed in cygwin? 

#include <sys/socket.h>

If you don't have this then your installation is screwed up.

cgf

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

