[nanomsg] Re: On the use of small integers instead of pointers to identify "sockets"

  • From: Paul Colomiets <paul@xxxxxxxxxxxxxx>
  • To: nanomsg@xxxxxxxxxxxxx
  • Date: Thu, 5 Sep 2013 16:16:28 +0300

Hi Amaury,

On Thu, Sep 5, 2013 at 3:27 PM, Amaury Bouchard <amaury@xxxxxxxxxx> wrote:
> You're right, FUSE is designed for filesystems. But still, it could work,
> and then we would be able to communicate through nanomsg sockets with simple
> read() and write() system calls.
> And as it's in user space, no need to add a module to the kernel (it could
> be reassuring when you are using a projet still in alpha).

I think it's too slow for the use case. But anyway how would you do
that? Should socket pretend that it's a file? It's impossible to
select/poll on file, so that kills the whole idea.

-- 
Paul

Other related posts: