[omniORB] connection failed with omniORB4

Francis Lebourse flebourse@jetmultimedia.fr
Thu, 22 Nov 2001 17:10:47 +0100


Hello,

When a call to a remote object fails because the process has
disappeared, the printed remote IP address is incorrect.

This seems to be a missing "else" in tcpConnection::tcpConnection() in file
tcpConnection.cc :

    if(getsockname(..) = RC_SOCKET_ERROR)
         pd_myaddress = (const char *) ....
--> else
     pd_myaddress = ip4ToString(...);

    if(getpeername(..) = RC_SOCKET_ERROR)
         pd_peeraddress = (const char *) ....
--> else
     pd_peeraddress = ip4ToString(...);

The same applies for sslConnection::sslConnection() in file sslConnection.cc


Regards,

Francis Le Bourse
.