Alex,

>  From the api documentation on the web it seems that the variable ffn of
> type zmq_free_fn as defined in the parameters of *zmq_msg_init_data* is
> a user supplied function and one needs to pass a pointer to a function
> that will free the message data. Is this correct?

Most bindings don't even use zmq_msg_init_data. It's intended for 
zero-copy transfer of user-allocated buffers, which you probably won't 
be able to do in Pascal anyway.

Just stick to zmq_msg_init_size.

Martin
_______________________________________________
zeromq-dev mailing list
zeromq-dev@lists.zeromq.org
http://lists.zeromq.org/mailman/listinfo/zeromq-dev

Reply via email to