Hi Phillip As a follow up to Jens' answer, to the best of my knowledge, If you are using TNonblockingServer <https://github.com/apache/thrift/blob/master/lib/cpp/src/thrift/server/TNonblockingServer.h> you are out of luck as the original transport is not accessible to you, your best bet is to identify that a certain call came from the same connection as a previous call but that is about it.
Folks please correct me if I'm wrong On Wed, May 28, 2014 at 3:08 AM, Jens Geyer <[email protected]> wrote: > That is something which is transport specific. IOW, you may not even have > a socket ... > > Other than that IIRC the cpp socket transport supports direct access to > the underlying os socket. > ________________________________ > Von: Phillip Simbwa > Gesendet: 28.05.2014 08:40 > An: [email protected] > Betreff: Determine connected client IPs > > Anyone know what options are available to determine connected client > IPs on the thrift server side? > > > -- > - Phillip. > > "Aoccdrnig to rscheearch at an Elingsh uinervtisy, it deosn't mttaer in > waht > oredr the ltteers in a wrod are, the olny iprmoetnt tihng is taht the frist > and lsat ltteer are in the rghit pclae. > The rset can be a toatl mses and > you can sitll raed it wouthit a porbelm. Tihs is bcuseae we do not raed > ervey lteter by it slef but the wrod as a wlohe and the biran fguiers it > out aynawy." >
