How to determine IP address of client request in CORBA

Hello

does anyone know of a way to determine which peer is making the invocation of a method in CORBA?

I need to find a way to determine the IP address of the calling peer, but at the server-side and *NOT* by passing the IP address as an argument with a method invocation like the following method:

void foo(in string ipAddress);

The above method declaration is in the .idl file.

Thank you in advance

[439 byte] By [jgoniana] at [2007-11-26 16:58:48]
# 1

There's no portable way to do this and I don't know if / how it's possible with the Sun ORB (the one available in the J2SE).

It is possible with the latest versions of JacORB (www.jacorb.org) - a free LGPL Java ORB. The feature is undocumented (as yet) but if you can decompose unit test code you can see how it works in the code in this directory:

http://www.jacorb.org/cgi-bin/cvsweb/JacORB/test/regression/src/org/jacorb/test/transport/

simonmcqueena at 2007-7-8 23:26:36 > top of Java-index,Core,Core APIs...