Quantcast
Channel: Active questions tagged zeromq - Stack Overflow
Viewing all articles
Browse latest Browse all 193

PUB/SUB can I .connect() before I .bind()?

$
0
0

I'm using a PUB/SUB design and my question is:

Can I .bind() to a port after another socket has .connect()-ed to it,or should I .bind() before another socket tries to .connect() to the same address?

In other words:

Does the order of .bind() and .connect() matter?

( I think this question is not specific to PUB/SUB but is relevant for any design ).


Viewing all articles
Browse latest Browse all 193

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>