[zeromq-dev] assertion failure with master
Samuel Tardieu
sam at rfc1149.net
Mon Nov 8 13:38:03 CET 2010
2010/11/8 Martin Lucina <mato at kotelna.sk>
>
> The general wording there makes me think EMSGSIZE is the case where e.g.
> you're trying to send a >64k message down a UDP socket.
>
Looks like it indeed (for messages >= 64k in my case). From a small Python
interactive test on Linux with a non-blocking UDP socket and trying to send
2^N bytes, I get:
1
2
4
8
16
32
64
128
256
512
1024
2048
4096
8192
16384
32768
Failed to send packet of size 65536: error(90, 'Message too long')
Failed to send packet of size 131072: error(90, 'Message too long')
Failed to send packet of size 262144: error(90, 'Message too long')
Failed to send packet of size 524288: error(90, 'Message too long')
[...]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20101108/4717170d/attachment.htm>
More information about the zeromq-dev
mailing list