Fixes Le Mans Ultimate. The game binds some internal web server to '[localhost](http://localhost)' ipv6 address ::1 (that is the first one available from getaddrinfo both on Windows and Wine). Then it tries to make a http query through wininet using 'localhost' host address. The current logic in wininet forces ipv4 address in name resolution if one is available (obviously the case for localhost) and then ipv4 connection to 127.0.0.1 fails. Just not preferring ipv4 would break a lot probably, starting from the opposite case when an app bind local server to 127.0.0.1. But Windows tries other available host addresses if the first one fails (and tries once succeeded address at once on the same request when there is no name resolution step). The weird thing is that INTERNET_STATUS_RESOLVING_NAME always comes just once and has the first host address from the list, while there might be multiple INTERNET_STATUS_CONNECTING_TO_SERVER and finally one INTERNET_STATUS_CONNECTED_TO_SERVER if the connection succeeds (that is covered by the test). -- https://gitlab.winehq.org/wine/wine/-/merge_requests/10794#note_138479