[omniORB] Using sockets for local servants...

Duncan Grisby duncan at grisby.org
Thu Jan 31 09:49:47 GMT 2008


On Wednesday 30 January, "Jiva DeVoe" wrote:

> I have an application which has two servants in the same process.  I
> think (correct me if I'm wrong) that if I try to connect to a servant
> within my own process that omniORB tries to be smart and uses shared
> memory for it's communication.  Is this true?  I want my application
> to ALWAYS use sockets when communicating to my servant - event if the
> client and servant are in the same process.  Is it possible to
> configure this?

omniORB will indeed always use a local case optimisation for calls in
the same process. There's no "shared memory" involved in the sense of
System V shared memory or something like that -- it's just a call within
a process. You can't stop omniORB from doing that.

Why do you want all calls to go through sockets?

Duncan.

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



More information about the omniORB-list mailing list