This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

gethostbyname


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]