[omniORB] corba objects on machine with multiple ip cards
Duncan Grisby
dgrisby@uk.research.att.com
Thu, 13 Dec 2001 11:35:54 +0000
On Wednesday 12 December, Maged Mokhtar wrote:
> Does anyone know on a machine with multiple ethernet cards ( with
> multiple ip addresses ) which address will be represented by the
> object reference the server registers with OmniNames ?
omniORB 3 will, by default, use the first address it finds when it
looks up the machine's name. You can override its choice with the
OMNIORB_USEHOSTNAME environment variable, or the
-ORBpoa_iiop_name_port command line argument.
omniORB 3 clients only ever look at the first address in an object
reference, so you can't (usefully) export object references listing
all your network interfaces. omniORB 4 removes this restriction.
Cheers,
Duncan.
--
-- Duncan Grisby \ Research Engineer --
-- AT&T Laboratories Cambridge --
-- http://www.uk.research.att.com/~dpg1 --