-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 07/05/14 10:50, Drew Crawford wrote: > So perhaps the solution looks like appending 6 bytes to the message > (although zero-copy is a bit of an issue). nn_sendmsg should allow you to send it as two separate buffers. It's a bit more complex on the receiver side. If you know the size limit for your messages you can supply two standard preallocated input buffers to nn_recvmsg. However, it is not possible to supply a standard fixed buffer + NN_MSG-style buffer to nn_recvmsg() at the moment. This should be fixed... Martin -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBAgAGBQJTafyRAAoJENTpVjxCNN9YwEwH/3qqdY2X+VU/24He6ZPRnyPt zfbl0GBu52CQsf6b1HENlLhYLLx9suiocGicjFOhu7Ip4HLcBueFduBlieZnuNvS uQ7UMDaQ0XPK/djrgOBRNXBj3cCxatC+TL6RQKpEDS4+nLfRdblaPdSAuc7sCfwx kQr/OBety7CYqIkfQXdip6v6G+sLoIfbSSwW2q59p+97nbRl46m3QSFzI0A5jMaI ReiCCoAc8vzM/KT74ThASTY4vjl9FqR2JE71ZclfBBGyhtIHSRDz1Ol9/nHxUOQx Ujzmh8mOnKg77eQglIFhW8efPaGuFlRjxNQyRsSZJLu2tWbg/UmByJ817D/jzos= =9l+P -----END PGP SIGNATURE-----