[openbeosnetteam] Re: BONE, FreeBSD

Hi Brennan,

> Ok, I just want to get my stuff straight now...
> 
> I installed BONE 7a on my OBOS development machine. After re-patching 
> the kernel everything seems good.  A couple of questions:
> - net_server apps should continue to work fine w/BONE?

Yep. BONE include libnet.so and libnetapi.so thin libraries that wrap old R5 
net api to new BONE userland libraries, libsocket.so and libbind.so.

> - BONE apps obviously do not work w/net_server...

Nope.

> - I notice I now have /dev/net/server and /dev/net/stack.  What are 
> these?

It's not BONE, it's our dual kernel drivers, our gateway to stack.
/dev/net/stack is for the kernelland stack, when /dev/net/server if for the 
debug/userland version of our stack, hosted by our net_stack_tester app.

Look at http://cvs.sourceforge.net/viewcvs.py/open-beos/current/src/tests/add-
ons/kernel/network/, where our userland stack version live. You will notice 
that we don't duplicate code, only build the stack module as userland add-ons 
instead of kernel ones...

> - Is there a good resource somewhere to read about BONE?

http://wiki.bebits.com/page/WhatIsBone ?

> Should I be using the user-land version of our stack?  If so, can I 
> compile it with debugging symbols and use bdb with it?  If so, how to 
> compile it w/debugging enabled?

$ cd current
$ DEBUG=1 jam NetworkingKit

Maybe you should clean the objets files relating to network kit. Dunno how to 
do that with jam, thought. I delete the current/objets directory...

- Philippe

Other related posts: