"getipnodebyname" and "freehostent"

I’m getting warnings when I compile my code on QNX 6.3.0, for the
functions, “getipnodebyname” and “freehostent”.
It says “implicit declaration of function”.

I’m using the gcc compiler and also using IPv6.
For IPv6, I’m using the <netinet6/in6.h>.
Am I doing it the correct way?
Are these functions supported, if not then what is their equivalent
on QNX?
Please help…

mkamthan <kamthan83@yahoo-dot-com.no-spam.invalid> wrote:

I’m getting warnings when I compile my code on QNX 6.3.0, for the
functions, “getipnodebyname” and “freehostent”.
It says “implicit declaration of function”.

I’m using the gcc compiler and also using IPv6.
For IPv6, I’m using the <netinet6/in6.h>.
Am I doing it the correct way?
Are these functions supported, if not then what is their equivalent
on QNX?
Please help…

Use getaddrinfo() and freeaddrinfo() instead.

-seanb

mkamthan <> kamthan83@yahoo-dot-com.no-spam.invalid
wrote:
IThanks a lot …that worked… > :slight_smile: