[omniORB] Running more than one server on the same machine...

Tom Haggie THaggie@img.seagatesoftware.com
Fri, 24 Jul 1998 12:07:40 -0400


Hi
Is it possible to programmatically find a suitable port number to run
our server on, we want to have more than one copy of the server running
at the same time and so would like to have a different BOA port for each
which is within a certain range specified range. 

I've tried creating a socket and then binding it to the port in question
but this doesn't give an error as the socket within the ORB has the flag
SO_REUSEADDR set on it.

-*TOM*-