Maybe this falls under the "I'm an idiot" category, but isn't netio
essentially the same as stream io? You open a socket, read in contents from
the stream, it blocks if its too full, etc. The entropy kernel driver used
the streamio API internally. It might be easier/cleaner to extend the
streamio translator to simply be able to handle network sockets.
On Tue, Aug 5, 2008 at 9:02 PM, Samuel Thibault <
[EMAIL PROTECTED]> wrote:

> Hello,
>
> Zheng Da, le Sat 02 Aug 2008 22:57:48 +0800, a écrit :
> > I'm going to write a translator that helps other programs open the
> underlying
> > device.
>
> Mmm, there are already two: storeio (for disks) and streamio (for
> character-based devices).
>
> > So other programs can open the device through a filesystem location.
> > The program can open the eth0 interface by openning the /dev/eth0, for
> example.
>
> Then I guess we could have a netio? (for packet-based devices)
>
> Samuel
>
>
>

Reply via email to