[zeromq-dev] Can one send a multipart message (SNDMORE flag) , but receive whole message on receiver end?

artemv zmq artemv.zmq at gmail.com
Wed Apr 30 11:22:25 CEST 2014


Ok.  Answering to my own question.. It seems like it's impossible to do so.
You can only send multiparts and receive multiparts.


2014-04-30 11:52 GMT+03:00 artemv zmq <artemv.zmq at gmail.com>:

> >> but receive whole message on receiver end
>
> I mean .. using single socket.recv()  call, i.e. w/o  spending time on
> getting  multiparts.
>
>
> 2014-04-30 11:50 GMT+03:00 artemv zmq <artemv.zmq at gmail.com>:
>
> Hi community,
>>
>> Got a question right in the subj. I'm asking because I'm on java, and
>> want to gain some perf. improvements on receiver end..  essentially I want
>> to minimize calls to ZMQ.Socket.recv() function since jni call in java
>> isn't  entirely free.
>>
>>
>> Thanks in advance.
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20140430/c0434862/attachment.htm>


More information about the zeromq-dev mailing list