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

Lindley French lindleyf at gmail.com
Thu May 1 09:19:50 CEST 2014


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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20140501/e544654b/attachment.htm>


More information about the zeromq-dev mailing list