Hi Stephan,

When using UDP, is there a limit on message size? I would think that if
ZeroMQ doesn't allow multi-part messages with UDP, it's because they're
trying to fit each message in a single packet, which would imply that your
messages have to be less than 64k and should probably be kept under the
network MTU which is typically 512-1500 bytes.

If you know your messages will always be small, then you can use the
constructor parameters to MallocMessageBuilder to make sure that the first
segment is always large enough for the whole message. Then, your message
will always be 1 segment and you only need to send that segment.

-Kenton

On Wed, Aug 30, 2017 at 11:32 PM, Stephan Opfer <op...@vs.uni-kassel.de>
wrote:

> Hi Kenton,
>
> I run into the problem, that I need to use UDP and Multi-Part messages are
> not supported by zeromq while using UDP. The goal of Multi-Part messages
> are to be delivered in an all or nothing principle. This guarantee is
> impossible to hold, according to some guys from the ZeroMQ Mailinglist, if
> you use UDP.
>
> Greetings,
>   Stephan
>
> --
> You received this message because you are subscribed to the Google Groups
> "Cap'n Proto" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to capnproto+unsubscr...@googlegroups.com.
> Visit this group at https://groups.google.com/group/capnproto.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Cap'n Proto" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to capnproto+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/capnproto.

Reply via email to