[EMAIL PROTECTED], le Fri 08 Aug 2008 01:03:38 +0200, a écrit : > On Wed, Aug 06, 2008 at 06:23:04PM +0100, Samuel Thibault wrote: > > [EMAIL PROTECTED], le Wed 06 Aug 2008 17:27:53 +0200, a écrit : > > > The point is rather that for network devices, the *standard* IO > > > operations make no sense. > > > > Well, yes they do, see tap devices: read/write packets. > > No idea about tap. > > I don't understand: How does one read/write variable-sized packets with > an interface that only supports (seekable) byte streams?
Just like you read/write variable-sized packets with a socket (though you would rather use recv/send). Non-seekable of course. Samuel