在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称(OpenSource Name):nanomsg/nanomsg开源软件地址(OpenSource Url):https://github.com/nanomsg/nanomsg开源编程语言(OpenSource Language):C 87.3%开源软件介绍(OpenSource Introduction):Welcome to nanomsgThe 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. Prerequisites
Quick Build InstructionsThese steps here are the minimum steps to get a default Debug build. Using CMake you can do many other things, including setting additional variables, setting up for static builds, or generation project or solution files for different development environments. Please check the CMake website for all the various options that CMake supports. POSIXThis assumes you have a shell in the project directory, and have the cmake and suitable compilers (and any required supporting tools like linkers or archivers) on your path.
WindowsThis assumes you are in a command or powershell window and have
the appropriate variables setup to support Visual Studio, typically
by running
Alternatively, you can build and install nanomsg using vcpkg dependency manager:
The nanomsg port in vcpkg is kept up to date by microsoft team members and community contributors. If the version is out of date, please create an issue or pull request on the vcpkg repository. Static LibraryWe normally build a dynamic library (.so or .DLL) by default. If you want a static library (.a or .LIB), configure by passing
POSIXPOSIX systems will need to link with the libraries normally used when building network applications. For some systems this might mean -lnsl or -lsocket. WindowsYou will also need to define When using the .LIB on Windows, you will also need to link with the ws2_32, mswsock, and advapi32 libraries, as nanomsg depends on them. SupportThis library is considered to be in "sustaining" mode, which means that new feature development has ended, and bug fixes are made only when strictly necessary for severe issues. New development is now occurring in the NNG project, which offers both protocol and API compatibility with this project. Please consider using NNG for new projects. Please see the file SUPPORT for more details. |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论