[openbeosnetteam] Re: Integration Q's

  • From: "Axel Dörfler" <axeld@xxxxxxxxxxxxxxxx>
  • To: openbeosnetteam@xxxxxxxxxxxxx
  • Date: Mon, 18 Feb 2002 14:42:57 CET (+0100)

> Taking a leap here, is this something close to what you were 
> referring?
> 
> - socket module creates/manages the /dev/[net/]socket device when 
> dev_init
> is called.
> - when the userland app links against libsocket they basically get a 
> routine
> that opens /dev/[net]/socket and get a real fd from hte system which 
> thinks
> it's just a file
> - because it's a file system entry presumably we can tell the system 
> which
> functions to call for read/write and ioctl?
> 
> Does that make sense? Is this something like what you were thinking 
> Axel?
> If it is is there any code to look at out there that does similar 
> things?

I thought of something like this, yes :-)
I am just not sure anymore, if it's worth the effort for R5.

Adios...
   Axel.



Other related posts: