[omniORB] Random Port number

bill.arreckx@wwgsolutions.com bill.arreckx@wwgsolutions.com
Wed, 20 Oct 1999 14:36:49 +0100



Dear omniORBer's

I tried to see which socket port number was actually used by omniORB2.80 and it
seems that the value of the port is random, even if I use the -ORBPortNumber
command line argument.
I added a trace in tcpSocketMTFactory.cc in the realConnect method to check
r->port() just before the connect. The numbers are never the same from one
session to another.

I tested with a Linux PC with the eg2 examples.

The problem is that the final target machine gets upset if the port is less than
5000.

Can you help ?

Thanks,

Bill.