This is the mail archive of the cygwin@cygwin.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: FW: Does cygwin tool kit Support threads


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/


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