[omniORB] Can an IPV6 socket accept connection from an ipv4-only client through omniORB?

Duncan Grisby duncan at grisby.org
Fri Jun 15 12:48:01 BST 2012


On Mon, 2012-06-11 at 11:31 +0800, jt wrote:


> I'm using omniORB 4.1.3. The server side is on the Linux platform and
> listens on a IPV6 socket. The client is on the Windows XP platform
> that does not install IPV6 protocol statck. Now I wonder if the client
> can connect the server throuhg omniORB or not.  
>  
> I have tested but it failed.  The client failed when calling ORB_init.
> My codes are as below:
>  
> std::string InitRef = "NameService=corbaname::[3ffe:100::b]:15000";

If the client does not have IPv6 support, you cannot possibly use it to
communicate to an IPv6 address!

If the server has IPv4 addresses as well as an IPv6 one, then the client
should be able to connect to it with IPv4.

Cheers,

Duncan.

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





More information about the omniORB-list mailing list