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

jt jt0713 at 163.com
Mon Jun 11 12:31:03 BST 2012


Hi,
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";
std::string clientTransportRule = "3ffe:100::b ssl,tcp";  // If chang it to "[3ffe:100::b] ssl,tcp", exception will also be thrown
clientTransportRule += " ssl,tcp";
const char* options[][2] = {{ "InitRef", 0},{"clientTransportRule", 0}, {"giopMaxMsgSize", "64000000"}, {"sslVerifyMode", "none"},{0, 0}};
options[0][1] = InitRef.c_str();
options[1][1] = clientTransportRule.c_str();
m_ptrORB = CORBA::ORB_init(argc, 0, "omniORB4", options);  //it will throw exception 


Is there any way to implement it? Thanks a lot!



2012-6-11
jiang.tao
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.omniorb-support.com/pipermail/omniorb-list/attachments/20120611/1928d2d4/attachment.htm


More information about the omniORB-list mailing list