thrift-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Carlos Valiente <>
Subject Re: Client IP address
Date Wed, 06 May 2009 17:55:45 GMT
> 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.

On Java, the trick is to keep a reference to the Thrift transport
object in your service implementation. See, and --- I managed
to achieve that by using a custom protocl factory.


View raw message