Two different ports for _ZMQ_SUB_s(overlord as a subscriber, node as a subscriber) are required.
A socket of type _ZMQPUB is used by a publisher to distribute data. Messages sent are distributed in a fan out fashion to all connected peers. The _zmqrecv(3) function is not implemented for this socket type.
A socket of type _ZMQSUB is used by a subscriber to subscribe to data distributed by a publisher. Initially a _ZMQSUB socket is not subscribed to any messages, use the _ZMQSUBSCRIBE option of _zmqsetsockopt(3) to specify which messages to subscribe to. The _zmqsend() function is not implemented for this socket type.
Two different ports for _ZMQ_SUB_s(overlord as a subscriber, node as a subscriber) are required.
A socket of type _ZMQPUB is used by a publisher to distribute data. Messages sent are distributed in a fan out fashion to all connected peers. The _zmqrecv(3) function is not implemented for this socket type.
A socket of type _ZMQSUB is used by a subscriber to subscribe to data distributed by a publisher. Initially a _ZMQSUB socket is not subscribed to any messages, use the _ZMQSUBSCRIBE option of _zmqsetsockopt(3) to specify which messages to subscribe to. The _zmqsend() function is not implemented for this socket type.