[openbeosnetteam] Re: net_server

> IIRC (it's been a long time) you should compile everyting net related 
> with USERLAND=1 or something along these lines.

That's not true anymore, and we lost this mecanism when we switch from 
makefiles to jamfiles.
Since, I've removed all #if USERLAND references, switching back to the 
same with 
build system-defined _KERNEL_MODE which is far enought.

However, I've failed ot find time to write jamfile building userland 
add-ons from the src/add-ons/kernel/network/* modules codes, something 
Ingo already have done for his DiskScannerTest app. 
I should try to follow his step here...

> But I also think that our net stack driver had the same name for 
> both, 
> userland and the kernel back then, so that wasn't an issue. 

Not true anymore too:
net_stack_driver publish /dev/net/stack, where net_stack_server publish 
/dev/net/server, so both can live along.

> libnet.so 
> doesn't have to know if the stack is in the kernel or not.

Agreed.
 
-Philippe


--
Fortune Cookie Says:

All wars are civil wars, because all men are brothers ... Each one owes
infinitely more to the human race than to the particular country in
which he was born.
                -- Francois Fenelon

Other related posts: