My bad, the link below is wrong, the correct is this one :
https://github.com/wavesoft/nanomsg/blob/pull-nn_allocmsg_ptr/tests/msg.c#L128
On 14/04/16 17:47, Ioannis Charalampidis wrote:
Note that nn_allocmsg_ptr also works with other transports too, such as TCP (as a matter of fact I have added a test for TCP and it passes without any problem, have a look here : https://github.com/wavesoft/nanomsg/blob/pull-nn_allocmsg_ptr/tests/chunks.c#L198 ).