[nanomsg] Re: ZMQ_ROUTER like functionality

  • From: Dirkjan Ochtman <dirkjan@xxxxxxxxxx>
  • To: nanomsg <nanomsg@xxxxxxxxxxxxx>
  • Date: Wed, 17 Sep 2014 18:50:49 +0200

On Wed, Sep 17, 2014 at 6:42 PM, David Robillard <d@xxxxxxxxxxxx> wrote:
> It seems that raw nanomsg sockets make it possible to do such things,
> but how to go about it isn't clear to me.

They are, and there are numerous discussions about it in the mailing
list archives. The gist of it is that a recv on an AF_RAW socket gives
you a small header plus the actual message, and the header will allow
you to route it back to the appropriate client. Sorry that we don't
have any particularly useful documentation for this; do ask more
questions in this thread after digging through the list archive for a
bit.

Cheers,

Dirkjan

Other related posts: