内含简单项目代码及ZeroMQ使用教程,资源适合初学者,可以满足快速入门要求
下载ZeroMQ
下载网址:http://zeromq.org/intro:get-the-software
点击“Windows sources”下载zeromq-4.0.3.zip文件
编译ZeroMQ库文件
解压zeromq-4.0.3.zip文件,进入buildsmsvc目录,用VS打开*.sln工程文件,编译生成解决方案。编译完成后,会在lib目录下生成dll和lib文件
编写简单的测试工程
1.用VS新建2个项目,一个是server端,一个是client端
2.将ZeroMQ源码项目的include目录下的两个文件“zmq.h”,“zmq_utils.h”拷贝至自己新建的工程
3.将ZeroMQ源码项目的lib目录下的两个文件“libzmq.dll”,“libzmq.lib”拷贝至自己新建的工程
4.将文件“zmq.h”,“zmq_utils.h”和“libzmq.lib”添加进自己新建的项目。(ZeroMQ simple project containing the code and tutorials, resources for beginners, to meet the requirements of the Quick Start Download ZeroMQ Download URL: http://zeromq.org/intro:get-the-software Click " Windows sources" download zeromq-4.0. 3.zip ZeroMQ library files compiled zeromq-4.0.3.zip unzip the file, enter builds msvc directory, with VS open*. sln project file, the compiler generates solutions. After the compilation is complete, it will generate dll and lib files in the lib directory to write a simple test project. Using VS New two projects, one is server-side, is a client-side two would both include directories ZeroMQ source project under File " zmq.h" , " zmq_utils.h" copy to their new project 3 would be two files ZeroMQ source project lib directory under " libzmq.dll" , " libzmq.lib" copy to their new project 4 would file " zmq.h" , " zmq_utils.h" and " libzmq.lib" added to their new projects.)