thrift-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bryan Duxbury <br...@rapleaf.com>
Subject Re: Client IP address
Date Wed, 06 May 2009 17:17:28 GMT
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
>
>


Mime
View raw message