On Fri, 2005-10-07 at 08:05 -0500, Albert Chin wrote:
> On Fri, Oct 07, 2005 at 11:20:26AM +0100, Dave Shield wrote:

> > What is the definition of inet_addr() in <arpa/inet.h> ?
> extern in_addr_t        inet_addr(const char *);

OK - that's basically what I'd expect.

However, I've done some poking about the net, and came
across a site with some IRIX man pages, which included
documentation for inet_addr as:

         unsigned long inet_addr(char *cp);


I suspect that this may be the original reason why
<arpa/inet.h> was omitted.  So we probably need to
check for this explicitly in the configure script.
(Unless we're happy to drop support for such systems?)

Dave


-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to