[omniORB] How to check if server exists ?

Adam Dorosz adam.dorosz@softax.com.pl
Wed, 02 Feb 2000 14:48:37 +0100


Hallo all,

I'd like to know if it's possible to run ORB_init and BOA_init at the
client side twice, with different parameters.
I have to let client user to input omninames server name and port number
and after that I create argument list passed to ORB_init and BOA_init.
But I have a problem, when user inputs wrong server name or port number.
I'm not able to check it befor calling ORB_init and calling it again
with new, even correct parameters, gives no results.So I have two
questions:
Is it possible to do anything to call ORB_init and BOA_init at client
side more then once, with different server addresses or port numbers ?
If not, how can I check if server with given name is listening at given
port ?
I'm using omniORB 2.7.1 with client at OpenVMS.

Thanks,

Adam