Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
menu search
person
Welcome To Ask or Share your Answers For Others

Categories

I'm trying to use ZeroMQ for data exchange between my programs. My system consists of two parts: client (REQ) written on C# and running on Windows and server (REP) written in C++ and running on linux ubuntu.

The client sends a request, server catches it, processes and sends a reply. The reply is never delivered.

In the minimal test case client and server simply sends empty messages, so the problem isn't in the message construction or processing code.

If I change the roles, and run server on Windows and Client on Linux, everything works OK. If I start PUB server on Linux and the SUB client on Windows, none of the messages is delivered.

I use Linux Ubuntu 12.04 LTS amd64, ZeroMQ 4.0.3 and g++ 4.6.3 on server side and Windows 8.1 x64, Visual Studio 2013 RC and clrzmq NuGet package 2.2.5 on the client side.

Does anybody have any thoughts?

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
149 views
Welcome To Ask or Share your Answers For Others

1 Answer

OK, I get it. I had to use older version of ZMQ on the server


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
...