[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: datagram vs stream sockets
In article <1joo0a7.1kfjopsdlva95M%manu%netbsd.org@localhost>,
Emmanuel Dreyfus <manu%netbsd.org@localhost> wrote:
>Greg Troxel <gdt%ir.bbn.com@localhost> wrote:
>> Why don't you have a real /dev/fuse, and then just have libperfuse
>> tunnel to it like a pty?
>Because the point of filesystem in userspace is to avoid kernel
I don't see the problem here. You have a stream socket with non-blocking
I/O and you keep reading and processing packets as long as you don't run
out of data. When you run out of data to process, you keep the last partial
packet and you prepend it on the next read.
Main Index |
Thread Index |