[zeromq-dev] how to use "inproc" for connecting C# and C++ (how to share context?)

Pieter Hintjens ph at imatix.com
Tue May 14 23:22:59 CEST 2013


Look at how CZMQ creates threads (the zthread module). Then your
parent (e.g. C++) starts C threads and passes its context. The two can
then communicate over inproc.

On Mon, May 13, 2013 at 2:00 PM, Oleg Vazhnev <ovazhnev at gmail.com> wrote:
> Hi
>
> I want to connect c++ and c# side of my application using "inproc" binding.
> To do that I need to share context somehow, because both c# and c++
> parts should use the same context.
> How can I do that? I'm using official c++ and c# bindings.
>
> I.e. on c# side i need ZeroMQ.ZmqContext
> And on c++ side i need zmq::context_t
> And both instances should point to the same context so I can use "inproc".
>
> Thanks,
>   Oleg
>
> _______________________________________________
> zeromq-dev mailing list
> zeromq-dev at lists.zeromq.org
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev



More information about the zeromq-dev mailing list