// This is proprietary non-public API and specific to JacORB only.
if (ri instanceof ServerRequestInfoImpl)
{
GIOPConnection connection = ((ServerRequestInfoImpl)ri).getConnection();
// Retrieve the transport from the ServerRequest/GIOPConnection
ServerIIOPConnection transport = (ServerIIOPConnection)connection.getTransport();
// Get the socket from the IIOP layer
Socket socket = transport.getSocket();
ipAddr = socket.getInetAddress().getHostAddress();
}
// End