Get IP Address from http_request

Jun 2, 2015 at 5:32 PM
I try to find some way to get IP Address from http_request but don't work. I also try read source but don't find the way to get IP Address. Some body can help me.
Jun 3, 2015 at 1:37 AM
Hi binhducodeplex,

Since you mention from the http_request object I assume you are trying to get the IP address from the server with our http_listener. No we don't have any APIs the expose the IP address of the underlying connection. On the client side with our http_client we have an API for getting at the underlying platform handle/API we build on top of, http_client_config::set_nativehandle_options(...), however no such API exists for the http_listener.

Jul 15, 2015 at 6:40 AM
Thank stevetgates for your helping :)