Hi, I have an application that uses WinINet to read a file from an HTTP-server. However, in rare cases a call to WinINet (I call InternetOpen, InternetOpenURL and InternetReadFile) never returns, maybe because the server doesn't respond properly, maybe because a firewall swallows parts of the communication. Is there a way to set up a timeout and to make the WinINet functions return with an error? Or, as the download is performed in a background thread, is it safe just to call KillThread if WinINet doesn't respond for a couple of minutes?
-Gunnar _______________________________________________ Delphi mailing list -> Delphi@elists.org http://www.elists.org/mailman/listinfo/delphi