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

Dirk O. Siebnich dok at dok-net.net
Mon Feb 23 09:18:23 CET 2009


Well, the CLR is an amazing piece of technology. Please check the
attached dnzmq.cs, I think I made the Send function work without
modifications to the C-API. So all that's needed now would be a receive
with a allocator callback.

There is just one minor problem: with messages of 512 bytes size, the
original copy-based implementation is twice as fast as the new one...

-Dirk
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dnzmq.cs
Type: text/x-csharp
Size: 5250 bytes
Desc: not available
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20090223/54b79da5/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3223 bytes
Desc: not available
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20090223/54b79da5/attachment-0001.bin>


More information about the zeromq-dev mailing list