[zeromq-dev] not binging to all LISTEN port

Mohit Anchlia mohitanchlia at gmail.com
Tue Sep 23 00:25:06 CEST 2014


I have a code that binds zeromq socket to 20-22 sockets, however when I
look at netstat it is only binding to 5 sockets.

The log message is being printed 22 times with 22 unique port numbers and
there doesn't seem to be any error logged or exception throws either. I am
trying to understand why I am not seeing the socket on 22 port?

ZMQ.Socket socket = context.socket(ZMQ.*REP*);

socket.bind("tcp://*:" + port);

*log*.info("Server bind port=" + port);
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20140922/5c075ade/attachment.htm>


More information about the zeromq-dev mailing list