How to use "inproc" to connect C # and C ++ (how to exchange context?)

I want to connect the C ++ and C # side of my application using the inproc binding. To do this, I need to somehow exchange the context, because both C # and C ++ parts must use the same context. How can i do this? I use official C ++ and C # bindings.

those. on the C # side I need ZeroMQ.ZmqContext.

And on the C ++ side, I need zmq :: context_t.

And both instances must point to the same context so that I can use "inproc".

+4
source share

Source: https://habr.com/ru/post/1480554/


All Articles