This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: gethostbyname
Andrew Lunn wrote:
>
> On Mon, Aug 13, 2001 at 04:11:18PM -0700, Dan Conti wrote:
> > i wrote a simple dns client for eCos and was looking at adding it into
> > the kernel and, naturally, populating gethostbyname()
>
> Its not part of the kernel, its part of the network stack. You should
> place it into packages/net/tcpip/current/src/lib/
Actually, it shouldn't use any private interfaces - only public ones, so it
should live in its own package. That way different network stacks (e.g. the
mini one RedBoot uses) can use it.
Jifl
--
Red Hat, Rustat House, Clifton Road, Cambridge, UK. Tel: +44 (1223) 271062
Maybe this world is another planet's Hell -Aldous Huxley || Opinions==mine