[openbeosnetteam] Re: DNS bug

"Waldemar Kornewald" <Waldemar.Kornewald@xxxxxx> wrote:
> Was our aim to have BONE compatibility? Today I surfed around with 
> Net+ 
> (using our netstack and ppp, or course ;).

Nice :)

> Also, I could check out some sources via cvs.
> Vision did not work because it wants to have BONE. The problem with 
> BONE is 
> that its SOCK_STREAM, etc values conflict with the net_stack values.
> It seems that we must add our own libsocket.so and libbind.so for 
> BONE 
> compatibility. I think libbind.so could be a link to our libnet.so. 
> libsocket.so 
> would have to adjust the socket type value. I could need a helping 
> hand.
> 
> I have not commited the changes to CVS because they are rather hacky 
> (checks > against AF_INET, etc.).
> We should decide together what to do.

How far away is our API from BONE? Not only since BONE is now official 
with the release of Zeta, I think it would also be nice for the actual 
users not to have to separate between three different networking 
solutions on the application level.

So if achieving BONE compatibility is just a matter of some minor 
constant and structure changes, I would try to go for it (not as 
another compatibility layer, but as the native interface to our kit). I 
wouldn't mind libsocket.so and libbind.so to be just dummies to our 
libnet.so, though.

Bye,
   Axel.


Other related posts: