[nanomsg] Re: ZMQ_ROUTER like functionality

  • From: David Robillard <d@xxxxxxxxxxxx>
  • To: nanomsg@xxxxxxxxxxxxx
  • Date: Wed, 17 Sep 2014 15:46:14 -0400

On Wed, 2014-09-17 at 18:50 +0200, Dirkjan Ochtman wrote:
> 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.

I have done quite a bit of searching, though perhaps with the wrong
keywords.  I guess I will try looking into raw sockets in general and
see how to pluck said information out of the header.

Thanks,

-- 
dr



Other related posts: