PDA

View Full Version : WUCheck.exe question



NewsArchive
08-30-2010, 01:14 AM
Hi Friedrich,

What happens if there is no internet connection available when wucheck.exe
runs? Does it time out immediately or does it wait for some period of time?
Same question regarding if the server is not accessible. I don't see
anything in the help about what happens if it fails...

Best regards,

--
Arnór Baldvinsson - Icetips Alta LLC
Port Angeles, Washington
www.icetips.com - www.buildautomator.com - www.altawebworks.com

Icetips product subscriptions at http://www.icetips.com/subscribe.php

NewsArchive
08-30-2010, 01:15 AM
Hi Arnór,

> What happens if there is no internet connection available when wucheck.exe
> runs? Does it time out immediately or does it wait for some period of
> time? Same question regarding if the server is not accessible. I don't
> see anything in the help about what happens if it fails...

wupdate.exe would report a Network Communication Error in this case (see
attached screenshot). The last 5 digits represent the received WinSock
error code.

The first four digits represent an internal HTTP component error ID:
http://www.lindersoft.com/forums/showthread.php?p=44838

Friedrich

NewsArchive
08-30-2010, 01:49 AM
Hi Arnór,

BTW, because wucheck.sb7 is based on wupdate.sb7 (source codes located in
the Redist folder), the WUCheck.exe client displays the same error codes.

If your own application "waits" for a return value from WUCheck.exe, it
receives -2 or -4 (depends on the method you uses) if the client is unable
to download the manifest file from the server.

Friedrich

NewsArchive
08-30-2010, 01:51 AM
Hi Friedrich,

> wupdate.exe would report a Network Communication Error in this case (see
> attached screenshot). The last 5 digits represent the received WinSock
> error code.
>
> The first four digits represent an internal HTTP component error ID:
> http://www.lindersoft.com/forums/showthread.php?p=44838

Thanks for the information and the link:) What about the time it takes? Is
it immediate (or relatively immediate) or is there a timeout on this? I
have a customer who is looking to implement wucheck.exe but is concerned
that it may cause delays or even lock up his system if he runs it and lets
his program wait for it.

Best regards,

--
Arnór Baldvinsson - Icetips Alta LLC
Port Angeles, Washington
www.icetips.com - www.buildautomator.com - www.altawebworks.com

Icetips product subscriptions at http://www.icetips.com/subscribe.php

NewsArchive
08-30-2010, 01:52 AM
Hi Arnór,

> Thanks for the information and the link:) What about the time it takes?
> Is it immediate (or relatively immediate) or is there a timeout on this?
> I have a customer who is looking to implement wucheck.exe but is concerned
> that it may cause delays or even lock up his system if he runs it and lets
> his program wait for it.

There is no defined timeout (in the wucheck.exe and/or wupdate.exe clients).
When the Winsock API returns, the client displays the error immediately (or
returns an error code to your application). I have never seen any delay in
all the years on our systems (from Win95 up to Win2008 R2).

Friedrich

NewsArchive
09-01-2010, 01:16 AM
Hi Friedrich,

> There is no defined timeout (in the wucheck.exe and/or wupdate.exe clients).
> When the Winsock API returns, the client displays the error immediately (or
> returns an error code to your application). I have never seen any delay in
> all the years on our systems (from Win95 up to Win2008 R2).

Yep, that's what I thought:) I played a bit with wininet tonight and when
trying to access a non-existing (ftp) server it returned in < 1sec with an
error and I'd presume winsock is the same.

Thanks much for the information, I will send this to my customer:)

Best regards,

--
Arnór Baldvinsson - Icetips Alta LLC
Port Angeles, Washington
www.icetips.com - www.buildautomator.com - www.altawebworks.com

Icetips product subscriptions at http://www.icetips.com/subscribe.php