On Friday, July 26, 2002, at 11:20 AM, Carlos Pereira wrote:
> I have these headers in some socket programming
> code that I use to fetch remote files from HTTP
> servers. This runs fine on both Red Hat 5.2 Intel
> Linux and Yellow Dog 2.2 Mac Linux.
>
> -----------------------
> #include <netinet/in.h>
> #include <netdb.h>
> #include <sys/socket.h>
> #include <unistd.h>
> ----------------------
>
> However, Darwin doesn't find these headers.
>
> 1) Are they in some place that I need to add to my path?
These are present on my Mac OS X system, once I load the developer
package. I can't speak for pure Darwin, but they sure should be
available.
> 2) If they are not there at all, which net packages
> shall I download (using dselect or fink) that contain
> these four headers (and libs)?
You'll have to have the headers from Darwin, not from an external
package, because they are specific to the version of the OS that you are
running.
Regards,
Justin
--
Justin C. Walker, Curmudgeon-At-Large *
Institute for General Semantics | Men are from Earth.
| Women are from Earth.
| Deal with it.
*--------------------------------------*-------------------------------*
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Fink-beginners mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-beginners