[Bug 5800] InternetCheckConnection is too naive

Wine Bugs wine-bugs at winehq.org
Fri Aug 4 00:34:14 CDT 2006


http://bugs.winehq.org/show_bug.cgi?id=5800





------- Additional Comments From saulius.krasuckas at elst.vtu.lt  2006-04-08 00:34 -------
Well, querying gw addr from an OS and pinging it probably would allow Wine to
avoid some timeouts when a gw is unreachable in some boxes / local IP packet
filter configuration cases.

But as InternetOpenConnection() requires a "pointer to a string containing the
URL to use to check the connection", I agree with Mike on a use of
InternetOpenConnection() to achieve that.

The only interesting question here is what HTTP server and what its URL should
Wine check when user provides NULL string here.  MSDN talks about internal DB of
nearest servers.  Maybe Wine should try it's very own list, eg:
http://www.winehq.org/, http://source.winehq.org/ and maybe
http://www.kernel.org/.  In a case Wine and Linux projects get dead along with
their webservers, this function will stop working too.  Which IMHO is unlikely
to happen by a natural reasons in nearest ten years :)

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the wine-bugs mailing list