NetMQ reuse same socket

327 Views Asked by At

Is it somehow possible to start for example 2 publishers on the same port or for example a publisher and subscriber simultaneously (both with the >tcp:// prefix)?

1

There are 1 best solutions below

3
On BEST ANSWER

You wont be able to run 2 services on the same port at the same time. They would have to be on different ports if they run together. The port number just tells the computer which service on the computer the packets are meant for.