OpenQNX :: The QNX Community Portal

Aug 21, 2008 - 06:20 AM
Google
  Web openqnx.com   
     Create an account Home · Submit News · QNX Forums · QNX Download · Search   
_
Main Menu
Who's Online
There are 43 unlogged users and 0 registered users online.

You can log-in or register for a user account here.

Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
mkamthan
Post subject: "getipnodebyname" and "freehostent"  PostPosted: Jan 23, 2007 - 10:32 AM
New Member


Joined: Jan 23, 2007
Posts: 2

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...
 
 View user's profile Send private message  
Reply with quote Back to top
seanb
Post subject: Re: "getipnodebyname" and "freehostent"  PostPosted: Jan 24, 2007 - 08:58 PM
QNX Master


Joined: Jul 28, 2006
Posts: 67

mkamthan <kamthan83@yahoo-dot-com.no-spam.invalid> wrote:
Quote:
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
 
 View user's profile Send private message  
Reply with quote Back to top
mkamthan
Post subject: RE: Re: "getipnodebyname" and "freehostent&qu  PostPosted: Jan 25, 2007 - 04:59 AM
New Member


Joined: Jan 23, 2007
Posts: 2

[quote="seanb"]mkamthan &lt;kamthan83@yahoo-dot-com.no-spam.invalid&gt; wrote:
[quote]IThanks a lot ...that worked.... Smile
 
 View user's profile Send private message  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by PNphpBB2 © 2003-2007 The PNphpBB Group
Credits
All logos and trademarks in this site are property of their respective owners. The comments are property of their posters.
Powered by OpenQNX: The QNX Community Portal Site
QNX and the QNX logo are registered trademarks of QNX Software Systems.