[ECOS] gethostbyname

Andrew Lunn andrew.lunn@ascom.ch
Tue Aug 14 06:55:00 GMT 2001


> 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




More information about the Ecos-discuss mailing list