commit | 4055fc93a67ad3fb16313f84fd5e7d7ae4ce6a1a | [log] [tgz] |
---|---|---|
author | Garrett D'Amore <garrett@damore.org> | Wed Oct 11 12:13:20 2017 -0700 |
committer | Garrett D'Amore <garrett@damore.org> | Wed Oct 11 12:13:20 2017 -0700 |
tree | e02886ae71bb57a3dd9dd7a45c576bbee1e4e1c0 | |
parent | 87fdee41bfd60201e351243d4740e8e8e8dc2132 [diff] |
fixes #854 nn_device crashes if EINTR is received fixes #566 nn_fd + Windows - unsigned int
The nanomsg library is a simple high-performance implementation of several “scalability protocols”. These scalability protocols are light-weight messaging protocols which can be used to solve a number of very common messaging patterns, such as request/reply, publish/subscribe, surveyor/respondent, and so forth. These protocols can run over a variety of transports such as TCP, UNIX sockets, and even WebSocket.
For more information check the website.
Windows.
cmake
POSIX (Linux, MacOS X, UNIX)
cmake
Documentation (optional)
asciidoctor
(This assumes you want to use the default generator. To use a different generator specify -G <generator>
to the cmake command line. The list of generators supported can be obtained using cmake --help
.)
mkdir build
cd build
cmake ..
(You can add -DCMAKE_INSTALL_PREFIX=/usr/local
or some other directory. You can specify a release build with -DCMAKE_BUILD_TYPE=Release
.cmake --build .
ctest -C Debug .
cmake --build . --target install
NB: This may have to be done as a privileged user.ldconfig
(As a privileged or root user.)We normally build a dynamic library (.DLL) by default.
If you want a static library (.LIB) , configure by passing -DNN_STATIC_LIB=ON
to the cmake
command.
You will also need to define NN_STATIC_LIB
in your compilation environment when building programs that use this library.
This is required because of the way Windows DLL exports happen. This is not necessary when compiling on POSIX platforms.
Website: http://nanomsg.org
Source code: https://github.com/nanomsg/nanomsg
Documentation: http://nanomsg.org/documentation.html
Bug tracker: https://github.com/nanomsg/nanomsg/issues
Mailing list: nanomsg@freelists.org
Gitter Chat: https://gitter.im/nanomsg/nanomsg
IRC chatroom: #nanomsg at irc.freenode.net/8001