Hi,

On Tue, Jun 24, 2014 at 4:20 PM, Pieter Hintjens <[email protected]> wrote:

> It's not truncated, rather it's split up. This is inherent to TCP.
> There's no framing, and sent data is repacked into MTUs arbitrarily.
> You have to read until you've gotten everything you expect. If you
> need framing, use a standard socket and ZeroMQ message.


Ok, I was wrong with the truncated and split up, but as I would expect
zeromq to handle this for me (I mean it delivers all parts or nothing) I
would suggest to add a big fat red warning in the docs. Other people might
run into it and do the same mistake as I did.

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

Reply via email to