[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Some questions about the translator that helps open the device
From: |
Samuel Thibault |
Subject: |
Re: Some questions about the translator that helps open the device |
Date: |
Fri, 8 Aug 2008 01:21:48 +0100 |
User-agent: |
Mutt/1.5.12-2006-07-14 |
olafBuddenhagen@gmx.net, le Fri 08 Aug 2008 01:03:38 +0200, a écrit :
> On Wed, Aug 06, 2008 at 06:23:04PM +0100, Samuel Thibault wrote:
> > olafBuddenhagen@gmx.net, 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
Re: Some questions about the translator that helps open the device, olafBuddenhagen, 2008/08/06