开发者

Set IP preference in WinHTTP (c++)

I have a code that is using WinHTTP on Windows 7.

The problem i'm experiencing is that the connction to specific hostname takes a long time when the user tries to use an IPv6 address (that is disabled).

I want to configure开发者_JS百科 the connection (maybe WinHttpConnect parametrs) to try IPv4 first.

Is there a way to set the address binding order?


The answer is: You cannot do this.

See Specify which Network Card/Connection Winhttp Must Use

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜