David Dawson
2007-Mar-19 18:43 UTC
[Wine] fixme:wininet:InternetGetConnectedState always returning LAN connection.
The line in the subject appears in several programs, and may be preventing some of them from working. Is there a work-around? My system is Debian Etch and Wine 0.9.31 with a previous ~/.wine I am connecting to the internet through a router/firewall to a broadband service. Ideas? Thanks -- If you wrestle in the mud with a pig. you both get dirty, and the pig likes it. -- Dave Dawson
Aggro
2007-Mar-19 18:44 UTC
[Wine] Re: fixme:wininet:InternetGetConnectedState always returning LAN connection.
David Dawson wrote:> The line in the subject appears in several programs, and may be preventing > some of them from working. > > Is there a work-around?That error message most likely means that the function is currently implemented to always return LAN connection, no matter what the real connection is. Possible return values (actually value is returned via parameter, but that doesn't matter here): INTERNET_CONNECTION_CONFIGURED 0x40 Local system has a valid connection to the Internet, but it might or might not be currently connected. INTERNET_CONNECTION_LAN 0x02 Local system uses a local area network to connect to the Internet. INTERNET_CONNECTION_MODEM 0x01 Local system uses a modem to connect to the Internet. INTERNET_CONNECTION_MODEM_BUSY 0x08 No longer used. INTERNET_CONNECTION_OFFLINE 0x20 Local system is in offline mode. INTERNET_CONNECTION_PROXY 0x04 Local system uses a proxy server to connect to the Internet. http://msdn2.microsoft.com/en-us/library/aa384702.aspx Let's see those values. If we remove those that you certainly don't have or which would just indicate not-working connection, we have left: INTERNET_CONNECTION_LAN INTERNET_CONNECTION_PROXY So if you are not using a proxy and you are always connected, the return value should always be correct for you. So I doubt that this would cause you any problems.
Seemingly Similar Threads
- Re: fixme:wininet:InternetGetConnectedState always returning LAN
- fixme:wininet:InternetGetConnectedState always returning LAN connection
- Blizzard Game Store Downloader doesn't work
- Re: New winetricks 20090116: new verbs mono22, urlmon, wininet,
- wininet not sending Content-Length: in header (http 411 error)