[PD] utf8 over tcp

IOhannes m zmoelnig zmoelnig at iem.at
Tue Apr 21 09:25:56 CEST 2015

On 2015-04-21 00:52, Jonathan Wilkes via Pd-list wrote:
> Anyway it's trivial to fix-- again, I was just curious why I cannot trigger
> a corruption at all, even when flooding the socket with messages that have
> a large percentage of multi-byte characters.

because a localhost connection has an MTU of 65536 bytes and in practice
nothing will re-packetize unless this boundary is hit.

so to trigger the problem reliably, make your message >65536 bytes and
have your multibyte character occupy bytes 65536 and 65537.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20150421/d5c17dd0/attachment.sig>

More information about the Pd-list mailing list