[omniORB] One machine and two IP addresses
Duncan Grisby
dgrisby@uk.research.att.com
Tue, 04 Dec 2001 09:50:35 +0000
On Monday 3 December, "zhang xia" wrote:
> In my machine ,I have two different IPs(IP1 & IP2)in one machine. In a
> server ,I yield two object references.But I want to one objref binding
> object through IP1 and the other objref binding object through IP2.How can
> I implment this.
I'm afraid that you can't do it from a single server process. You can
create two processes and control the addresses in their object
references using the OMNIORB_USEHOSTNAME environment variable.
Cheers,
Duncan.
--
-- Duncan Grisby \ Research Engineer --
-- AT&T Laboratories Cambridge --
-- http://www.uk.research.att.com/~dpg1 --