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

artemv zmq artemv.zmq at gmail.com
Sat May 3 22:08:04 CEST 2014


hi Lindley

Could you please elaborate more on this ... ) Have no idea how to do so.


2014-05-01 10:19 GMT+03:00 Lindley French <lindleyf at gmail.com>:

> There's no particular reason you couldn't add logic to receive an entire
> multipart message in one JNI call if you want.
>
>
> On Wed, Apr 30, 2014 at 2:22 AM, artemv zmq <artemv.zmq at gmail.com> wrote:
>
>> 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.
>>>>
>>>
>>>
>>
>> _______________________________________________
>> zeromq-dev mailing list
>> zeromq-dev at lists.zeromq.org
>> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
>>
>>
>
> _______________________________________________
> zeromq-dev mailing list
> zeromq-dev at lists.zeromq.org
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20140503/c71f7e3e/attachment.htm>


More information about the zeromq-dev mailing list