2

我是新手,ZMQ试图弄清楚如何将它集成到我的项目中。我需要实现最基本的请求-回复模型,server is Java其中client is C++. 我正在Windows使用VS2013 and Eclipse (STS). 我发现 0MQ 上的材料令人费解且令人困惑。我正在寻找的是一个简单的步骤列表:

  1. 下载 0MQ Java - 我究竟应该下载什么以及从哪个 URL 下载最新的稳定版本。

  2. 我需要什么(位置和文件)进入我的 Eclipse 项目,以便我可以开始在我的代码中使用 0MQ。

  3. 下载 0MQ C++ - 我究竟应该下载什么以及从哪个 URL 下载最新的稳定版本。

  4. 我需要什么(位置和文件)进入我的 VS 项目,以便我可以开始在我的代码中使用 0MQ。

谢谢。

4

1 回答 1

1
  • Downloading the 0MQ Java
  • What (location and files) do I need to get into my Eclipse project so that I can begin using 0MQ in my code.

If you're just testing stuff out, the easiest way to get Java working is with JeroMq; it's a full Java implementation of ZeroMq with identical API's. Configure with pom/maven, that's it. For production code, you'll want to build the java bindings for your target OS, but don't worry about that now.

  • Downloading the 0MQ C++
  • What (location and files) do I need to get into my VS project...

This is the hard part. If you can use C# instead of C++, check out NetMq, a native implementation of ZeroMq in C# for .net. Otherwise, for C++ Visual Studio, you'll have to google around and piece together instructions, you can start here.

Hope it helps,

于 2013-12-05T19:30:43.880 回答