Hi Maninder,

On Tue, Sep 18, 2012 at 10:21 PM, Maninder Batth
<[email protected]> wrote:
> Paul,
> Here is number of messages as seen by the server in one second. Each message
> is 1024 byte excluding tcp/ip and zmq headers. Based on these numbers and i
> am getting a throughput of 1.4 Gb/sec.
> Enclosed is the source code for the server and the client.
>

Zeromq closes the message after sending. So you effectively send
messages of the zero length after first one. You should use
zmq_msg_copy (or whatever C++ API is there) before  doing send() in
case you want to reuse message.

-- 
Paul
_______________________________________________
zeromq-dev mailing list
[email protected]
http://lists.zeromq.org/mailman/listinfo/zeromq-dev

Reply via email to