I was wondering if it is possible for an HTTP request to hold client's ipv4 and ipv6 addresses at the same time?
I am writing a .NET application and are probing for client's IP address using the following methods:
HttpContext.Current.Request.ServerVariables["HTTP_X_FORWARDED_FOR"];
HttpContext.Current.Request.ServerVariables["REMOTE_ADDR"];
Dns.GetHostAddresses(Dns.GetHostName())
I assume an HTTP request is always made to a single address, either IPV4 or IPV6, cannot be both correct? Even if it's called by FQDN?
Is it even theoretically possible to obtain client's ipv4 and ipv6 address at the same time during a single http call?