Hi,
A simple question just as the title says.
I need to know the client IP.
|
|
Hi,
A simple question just as the title says.
I need to know the client IP.
You can print this information by calling on the Ice::Current. Something like:
Code:void HelloI::sayHello(const Ice::Current& current) { cout << current.con->toString() << endl; }
Thanks very much,Matthew!
It works!
There are currently 1 users browsing this thread. (0 members and 1 guests)