Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想使用“inproc”绑定连接我的应用程序的 c++ 和 c# 端。为此,我需要以某种方式共享上下文,因为 c# 和 c++ 部分都应该使用相同的上下文。我怎样才能做到这一点?我正在使用官方的 c++ 和 c# 绑定。
即在c# 方面我需要ZeroMQ.ZmqContext。
在 c++ 方面,我需要 zmq::context_t。
并且两个实例都应该指向相同的上下文,所以我可以使用“inproc”。