Set IP Preference in WinHTTP (C ++)
I have some code that uses WinHTTP on Windows 7.
The problem I am facing is that it takes a long time to connect to a specific hostname when the user tries to use the IPv6 address (which is disabled).
I want to set up a connection (maybe WinHttpConnect options) to try IPv4 first.
Is there a way to set the binding order of the address?
+1
source to share