I don't know wether the are some file similar with netdb.h in vxworks(I search them but no result),
anybody can give me any hint?
--
______________________________________________
http://www.linuxmail.org/
Now with e-mail forwarding for only US$5.95/yr
Powered by Outblaze
HTH,
Manjunath.
>_______________________________________________
>VxWorks Users Group mailing list
>VxWe...@lbl.gov
>http://www-csg.lbl.gov/vxworks/
_________________________________________________________________
Say it now. Say it online. http://www.msn.co.in/ecards/ Send e-cards to your
love
hostGetByAddr( )
NAME
hostGetByAddr( ) - look up a host in the host table by its Internet address
SYNOPSIS
STATUS hostGetByAddr
(
int addr, /* inet address of host */
char * name /* buffer to hold name */
)hostGetByName( )NAMEhostGetByName( ) - look up a host in the host table by its nameSYNOPSISint hostGetByName
(
char * name /* name of host */
)Peter
----- Original Message -----
From: "linux guy" <linu...@linuxmail.org>
To: <vxwe...@csg.lbl.gov>
Sent: Monday, April 07, 2003 12:33 PM
Subject: [VxW] using gethostname in vxworks
Shibasis Ganguly
S/W Developer Real time Group
Rebaca consultant (Pvt) Ltd
Block EP & GP,Sector-V
Salt lake city, calcutta-91.
e-mail: shib...@rebaca.com
phone: +91-33-23577177
fax: +91-33-2357 7178
mobile: 98303 11406
webside: www.rebaca.com
> Hi,
> change it to 'hostGetByName' and 'hostGetByAddr' respectively....look into
> the manuals for details...
>
> HTH,
> Manjunath.
>
>
>
> >From: "linux guy" <linu...@linuxmail.org>
> >Reply-To: VxWorks Users Group List <vxwe...@csg.lbl.gov>
> >To: vxwe...@csg.lbl.gov
> >Subject: [VxW] using gethostname in vxworks
> >Date: Mon, 07 Apr 2003 12:33:43 +0800
> >
> >hi,guys
> >I'm porting some code to vxworks,,but when I rebuild the vxworks image,
> >it tells me that
> >undefined reference to `gethostbyname'
> >undefined reference to `gethostbyaddr'
> >
> >I don't know wether the are some file similar with netdb.h in vxworks(I
> >search them but no result),
> >anybody can give me any hint?
> >--
> >______________________________________________
> >http://www.linuxmail.org/
> >Now with e-mail forwarding for only US$5.95/yr
> >
> >Powered by Outblaze
> >_______________________________________________
> >VxWorks Users Group mailing list
> >VxWe...@lbl.gov
> >http://www-csg.lbl.gov/vxworks/
>
>
> _________________________________________________________________
> Say it now. Say it online. http://www.msn.co.in/ecards/ Send e-cards to your
> love
>