Squashed 'libs/cppzmq/' content from commit c66fc609

git-subtree-dir: libs/cppzmq
git-subtree-split: c66fc6094b2a03439dea8469719e221e80e2e8e7
This commit is contained in:
Henry Winkel
2022-10-22 14:34:43 +02:00
commit 31cbcd39be
34 changed files with 7679 additions and 0 deletions

9
examples/hello_world.cpp Normal file
View File

@@ -0,0 +1,9 @@
#include <zmq.hpp>
int main()
{
zmq::context_t ctx;
zmq::socket_t sock(ctx, zmq::socket_type::push);
sock.bind("inproc://test");
sock.send(zmq::str_buffer("Hello, world"), zmq::send_flags::dontwait);
}