It is available via grpc::ServerContext::peer():

https://grpc.io/grpc/cpp/classgrpc_1_1_server_context.html#a5ef7910ccd61514eafa7087519bb17bb

Hope that helps!

Evan



On Monday, July 17, 2017 at 3:51:31 PM UTC-4, Anirudh Kasturi wrote:
>
> I am trying to figure how I can get the Client's IP address when the 
> client sends a request to my GRPC server written in C++.  Does anyone know 
> if the Client IP is exposed anywhere?  Thank you.
>

-- 
You received this message because you are subscribed to the Google Groups 
"grpc.io" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to grpc-io+unsubscr...@googlegroups.com.
To post to this group, send email to grpc-io@googlegroups.com.
Visit this group at https://groups.google.com/group/grpc-io.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/grpc-io/5d3bcd16-45c8-42b9-b095-5fc09f134856%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to