[ntp:questions] Re: New NTP version for Windows with GUI setup available

Martin Burnicki martin.burnicki at meinberg.de
Wed Jan 4 12:41:56 UTC 2006


Serge,

Serge Bets wrote:
[...]
> AFAICS those random dance locks with "no error" (!) errors don't happen
> on Linux, and don't happen on Windows in client mode.

Error messages with the text "no error" are due to the following reason:

Normally if a function fails there's a system variable "errno" which
contains the error code which can be translated to an associated message
text. This works under most operating systems, even Windows.

However, there are some networking API functions under Windows which don't
update the "errno" variable. Instead, you have to call the function
WSAGetLastError() to retrieve the error code. 

There are still some pieces of code in the NTP package where this extra
handling for Windows has not yet been implemented and thus needs some
cleanup.

Martin
-- 
Martin Burnicki

Meinberg Funkuhren
Bad Pyrmont
Germany




More information about the questions mailing list