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


1 answer


Answer: you cannot do this.



See Specify which network card / connection Winhttp should use

0


source







All Articles