{"id":60271,"library":"cppzmq","title":"cppzmq","description":"Header-only C++ binding for ZeroMQ.","status":"active","version":"4.11.0","language":"cpp","source_language":null,"source_url":null,"tags":["zeromq","messaging","networking","header-only"],"install":[{"cmd":"vcpkg install cppzmq","lang":"bash","label":"vcpkg"},{"cmd":"# CMakeLists.txt\nfind_package(cppzmq CONFIG REQUIRED)\ntarget_link_libraries(main PRIVATE cppzmq::cppzmq)","lang":"cmake","label":"CMake"}],"dependencies":[],"imports":[{"symbol":"zmq.hpp","correct":"#include <zmq.hpp>"}],"quickstart":{"code":"#include <zmq.hpp>\n#include <string>\nint main() {\n    zmq::context_t ctx(1);\n    zmq::socket_t sock(ctx, zmq::socket_type::req);\n    sock.connect(\"tcp://localhost:5555\");\n    return 0;\n}","lang":"cpp","description":"Basic usage of cppzmq"},"warnings":[{"fix":"Ensure libzmq is linked in your project.","message":"cppzmq is header-only but requires linking against libzmq.","severity":"gotcha","affected_versions":"*"}],"env_vars":null,"search_vec":"'bind':6 'c':5 'cppzmq':1 'header':3,13 'header-on':2,12 'messag':10 'network':11 'zeromq':8,9","created_at":"2026-06-16T19:23:33.832988+00:00","updated_at":"2026-06-16T19:23:33.832988+00:00","problems":[],"ecosystem":"vcpkg","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":null,"github":null,"docs":null,"changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["messaging","networking"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-17","next_check":"2026-12-14","install_tag":null}}