[openbeosnetteam] Re: FYI: Build problems

  • From: Philippe Houdoin <philippe.houdoin@xxxxxxx>
  • To: openbeosnetteam@xxxxxxxxxxxxx
  • Date: Sat, 5 Jul 2003 16:30:54 +0200

Marcus Overhagen notified us:

> Looks like an out of date header file is in CVS:

[...]

Damn, yes, my fault, really.
Thanks for pointing this.

I commited a change in the way the accept() bind the new accepted socket/fd to 
the internal stack socket struct, by open()'ing the new fd from the driver 
instead of libnet.so:accept().
I was inspired by NewOS code, found this way better, as it hide the *trick* 
deeper. 

Since this change (and updates in net_stack_driver.h) net_server_driver and 
userland net_server don't build anymore.

Unfortunatly, as pointed out by Francois Revol (mmu_man), it seems the new fd 
open()'ed from driver will belong to kernel team under BeOS R5 kernel, 
something we really don't want.
Guess I should change back to old way (NET_STACK_GET_COOKIE)...

I should fix these build errors tonight.

-Philippe



-- 

Other related posts: