[omniORB] tcpEndpoint::bind when using multiple network cards

Duncan Grisby duncan at grisby.org
Tue Sep 11 14:05:55 BST 2007


On Tuesday 11 September, Christopher Koppler wrote:

> I'm having a problem (using OmniORB 4.0.6 under Windows, but as far as
> I've seen 4.1 hasn't changed that behaviour) which I've traced to
> tcpEndpoint.cc:
> 
> The bind method tries (as the comment in the code also states) to find
> the first interface that isn't the loopback.
> 
> I have two (and sometimes three) interfaces that aren't the loopback
> on the server, and I need to be able to select the address of the
> interface (currently if I need another than the first interface the
> root naming context is bound to a wrong address and subsequent
> communication will fail) - is this possible using some configuration
> file entry, or do I have to change the code?

Look at the endPoint parameter:

  http://omniorb.sourceforge.net/omni41/omniORB/omniORB008.html#toc42

Duncan.

-- 
 -- Duncan Grisby         --
  -- duncan at grisby.org     --
   -- http://www.grisby.org --



More information about the omniORB-list mailing list