17 zio::Port port(
"name1", ZMQ_PUB,
"127.0.0.1");
18 port.
bind(
"127.0.0.1",0);
24 for (
const auto& one : hh) {
25 zio::debug(
"test: not advertising bind: {} = {}",
26 one.first, one.second);
void online(Peer &peer)
Make any previously requested connections.
void offline()
Disconnect and unbind.
A port holds a socket in the context of a node.
void bind()
Request a default bind.
headerset_t do_binds()
Perform any requested binds.
Peer at the network to discover peers and advertise self.