ZIO
Python and C++ interface to ZeroMQ and Zyre
test
test_socket.cpp
Go to the documentation of this file.
1
#include "
zio/interned.hpp
"
2
3
int
main
()
4
{
5
{
6
zio::context_t
ctx
;
7
zio::socket_t
sock
(ctx, ZMQ_PUB);
8
sock.
bind
(
"tcp://127.0.0.1:*"
);
9
}
10
11
12
return
0;
13
}
test_ugly.ctx
ctx
Definition:
test_ugly.py:158
interned.hpp
main
int main()
Definition:
test_socket.cpp:3
zmq::socket_t
Definition:
zmq.hpp:1621
test_ugly.sock
sock
Definition:
test_ugly.py:159
zmq::detail::socket_base::bind
void bind(std::string const &addr)
Definition:
zmq.hpp:1306
zmq::context_t
Definition:
zmq.hpp:686
Generated by
1.8.13