This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: gethostbyname
> 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.
Hummm. Does redboot provide BSD sockets? A kernel so i can use mutex,
per thread data? I think not.
Quite a few of the functions inside the lib directory do not use
private interface. getserbyname, gethost, all the bootp stuff since it
uses ioctl, the tftp server and client code, inet_addr etc. Why is
this not in a generic package?
Andrew