Click here to get back home

Re: Asynch wininet - Threaded or not?

 HomeNewsGroups | Search | About
 microsoft.public.smartphone.developer    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
Re: Asynch wininet - Threaded or not? Fred 02-02-2006
Posted by Fred on February 2, 2006, 2:45 pm
Please log in for more thread options

> Never mind, you are referring to this, I think:
>
> BUG: InternetSetOption Does Not Set Timeout Values
> http://support.microsoft.com/kb/176420/EN-US/
>
> Isn't the default timeout acceptable? This has never been an issue for me.
>
> Paul

Hi Paul.

(I've just made another couple of posts discussing it before this one of
yours came through.)


Nope its not. Mine is a "real-time" application" If the thread hangs more
than a second or two waiting for a response it's useless.

Also does the default timeout work OK? I've had problems with threads
hanging indefinitely.



Posted by Fred on February 3, 2006, 7:13 am
Please log in for more thread options

> I don't really know much about timeout behaviour.
>
> I have seen a DNS timeout within a few seconds (but more than two).
>
> I haven't seen an HTTP timeout. Are the web servers you're connecting to
> really unreliable or something?


It's not that they are particularly unreliable - I need "real time"
response. The real issue is not around connecting (I suppose) but around
reading the servers response.


If the data is not downloaded "immediately" then it is out of date and so
useless.

On my other app using synch wininet and threads the threads seem to hang -
never timeout - if the site is slow to respond for that request - of course
there could be other issues causing this as its really hard to pin down.




Similar ThreadsPosted
Asynch wininet - Threaded or not? February 1, 2006, 9:51 am
SSL with WinINet April 16, 2008, 4:30 pm
WinInet problem August 1, 2005, 1:44 am
Can wininet functions trigger CM to auto-establish a GPRS connecti June 11, 2005, 10:03 pm

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap