FW: Does cygwin tool kit Support threads

Christopher Faylor cgf@redhat.com
Fri Jul 27 21:50:00 GMT 2001


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/



More information about the Cygwin mailing list