Go to the FreeLists Home Page Home Signup Help Login
 



[openbeosnetteam] || [Date Prev] [05-2002 Date Index] [Date Next] || [Thread Prev] [05-2002 Thread Index] [Thread Next]

[openbeosnetteam] Re: PPP, libnet, and why inside the kernel?

  • From: "Axel Dörfler" <axeld@xxxxxxxxxxxxxxxx>
  • To: openbeosnetteam@xxxxxxxxxxxxx
  • Date: Sun, 05 May 2002 01:38:31 CEST (+0200)
> > What besides select()? I hope things like socket() stay in libnet; 
> > that
> > is an appropriate place for them. I still don't see what advantage
> > there is to being copmiled into the kernel.
> 
> Oh come on get a grip. libnet is a userland lib. Things like socket 
> belong
> in kernel. Why? What does socket do? It opens a window into the 
> kernel and
> the i/o routines that live there. Instead of calling
> 
> socket
> open
> ioctl
> 
> in kernel we simply call
> 
> socket

It don't have to be in libroot.so for that; you can call kernel 
functions from everywhere it doesn't have to be libroot.
And it's always
        socket
        kernel_socket

Adios...
   Axel.







[ Home | Signup | Help | Login | Archives | Lists ]

All trademarks and copyrights within the FreeLists archives are owned by their respective owners.
Everything else ©2007 Avenir Technologies, LLC.