[zeromq-dev] [PATCH] Moved tests off 5555 (conflict with Eclipse)

Martin Lucina mato at kotelna.sk
Wed May 4 13:17:10 CEST 2011


sustrik at 250bpm.com said:
> On 05/04/2011 01:12 PM, Martin Lucina wrote:
> 
> > The other piece of the puzzle is implementing getsockname() for all socket
> > types which then allows the application to get back a list of ports the
> > socket is bound to.
> 
> How would you pass the port number to the peer?

Well, in a full-blown application which wants to use transient ports you
will obviously need a single well-known naming/directory service of some
kind.

For the test cases, which we were discussing, given that they're all
single-process they can use inproc to pass the TCP port numbers to use.

-mato



More information about the zeromq-dev mailing list