This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
gethostbyname
- To: "Ecos-Discuss (E-mail)" <ecos-discuss at sources dot redhat dot com>
- Subject: [ECOS] gethostbyname
- From: "Dan Conti" <danc at iobjects dot com>
- Date: Mon, 13 Aug 2001 16:11:18 -0700
Hi,
i wrote a simple dns client for eCos and was looking at adding it into
the kernel and, naturally, populating gethostbyname() (i haven't
implemented reverse lookups and dont need to, so gethostbyaddr() isn't
useful for me).
i haven't been able to find an example of how gethostbyname() is
implemented. specifically, is it possible to implement without dynamic
memory, and can i assume endhostent() will be explicitely called? i'm
not too familiar with convention on these items. is gethostbyname() a
kernel fun in *bsd? i couldn't find it when i looked. pointers
appreciated :)
-Dan
--
Dan Conti e danc@iobjects.com
Software Engineer p (425) 289 0326