cppzmq
examples
hello_world.cpp
Go to the documentation of this file.
1
#include <
zmq.hpp
>
2
3
int
main
()
4
{
5
zmq::context_t
ctx;
6
zmq::socket_t
sock
(ctx,
zmq::socket_type::push
);
7
sock
.bind(
"inproc://test"
);
8
sock
.send(zmq::str_buffer(
"Hello, world"
), zmq::send_flags::dontwait);
9
}
sock
void * sock
Definition:
test_connect_resolve.cpp:9
zmq::socket_t
Definition:
zmq.hpp:2188
zmq.hpp
zmq::context_t
Definition:
zmq.hpp:799
main
int main()
Definition:
hello_world.cpp:3
push
static void push(tarjan *t, const upb_refcounted *r)
Definition:
ruby/ext/google/protobuf_c/upb.c:5890
libaditof
Author(s):
autogenerated on Wed May 21 2025 02:06:54