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