We don't currently have a way to do this, though it has been discussed. The best bet as of right now is to add a parameter to the service method that takes the client address and have the client report it itself.

-Bryan

On May 6, 2009, at 9:37 AM, Patrick Schlangen wrote:

Hi,

I am implementing a thrift-based service in C++ at the moment and encountered a question:

Is there a way to get the client's IP address from inside a service method implementation? I am using a TThreadedServer.

Thanks in advance!

Patrick Schlangen



Reply via email to