You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is there a way to determine if the system is using an array of IP addresses for the host that myIpAddressEx() provides. It doesn't give the same functionality of the browser because of that. I had to add my system's list of ip returned by myIpAddressEx in setmyip() to get the same behavior. Otherwise it seems like it just returns the first IP?
The text was updated successfully, but these errors were encountered:
According to the code (see especially my_ip_ex() and resolve_host()), by default myIpAddressEx() should return a semi-colon separated list of whatever getnameinfo() returns using the host name from gethostname(). That would be multiple IP addresses (in particular IPv4 and IPv6) for a single network interface. It does not look up all the IP addresses on all network interfaces that a host may have. This seems to match the Microsoft definition of this function. Does a browser behave differently, and if so which one?
In order to handle hosts with multiple interfaces, I believe the solution that I submitted in this pull request is better.
Is there a way to determine if the system is using an array of IP addresses for the host that myIpAddressEx() provides. It doesn't give the same functionality of the browser because of that. I had to add my system's list of ip returned by myIpAddressEx in setmyip() to get the same behavior. Otherwise it seems like it just returns the first IP?
The text was updated successfully, but these errors were encountered: