[zeromq-dev] P/Invoke-based CLR access to zeroMQ

Martin Sustrik sustrik at fastmq.com
Sun Feb 22 12:40:11 CET 2009


> I would rather think of a way to pin the CLI-supplied buffer down, send 
> it to 0MQ and ask it (via ffn) to unpin the buffer once the data are 
> physically sent to the network. Is that kind of thing possible?

What about GCHandle?

Have a look at section "Object Lifetime and Pinning" here:

http://msdn.microsoft.com/en-us/magazine/cc163910.aspx

Martin



More information about the zeromq-dev mailing list