Re: time server problem

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



On 6 dec, 21:41, "Paul G. Tobey [eMVP]" <p space tobey no spam AT no
instrument no spam DOT com> wrote:
And the docs are wrong... When you do what the docs say and it doesn't
work, refer to the code itself. I believe I gave you the location of the
server code previously, no?

In the case of the multicast value, it can be a) a REG_DWORD that contains
the 32-bit IP address (IPv4, obviously), of the group to send to;
172.16.12.1 = 0x010c10ac (not that this is a valid multicast address, of
course), b) a REG_SZ that gives a single group to send to, or c) a
REG_MULTI_SZ which gives a list of groups to be sent to. The code is quite
clear that, unless 1 is a multicast group, it's not a valid value for that
registry entry. The code has a much harder time about being wrong about
what it does than the documentation does. The code might have bugs in it,
but it faithfully describes what it's doing.

The multicast period is DOCUMENTED IN THE CODE! What were you expecting me
to say? Use the Send Feedback link on the help page that documents the
registry settings to indicate to the docs team that the documentation is
wrong and incomplete.

Paul T.

"freeck" <free...@xxxxxxxxxxx> wrote in message

news:08fc8851-c49a-4f42-bf1d-d23750a6057a@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx



On 6 dec, 20:26, "Paul G. Tobey [eMVP]" <p space tobey no spam AT no
instrument no spam DOT com> wrote:
Well, just from a quick read of the code, which you have, too (hint,
hint),
it's clear that you have set the multicast period to an invalidly small
value. The minimum value is 5*60*1000 (five minutes).

Further, you've given it the wrong information in the multicast registry
value. That should be the list of multicast groups to send to, not "1".

All of this would have shown up in the serial debug messages, if you were
running on a debug build of the OS...

Paul T.

"freeck" <free...@xxxxxxxxxxx> wrote in message

news:e69b817a-fc2d-42a0-be3b-c63bc1c7712e@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

Hi there,

Still having problems using the time server of CE5.0.
I have updated the latest fixes in PB5.0. I have set the following
registry settings in the CE-target:
Index 0
Prefix NTP
Keep 1
Order 153
Dll timesvc.dll
Context 0
ServerRole 1
Multicast 1
MulticastPeriod 2000
TrustLocalclock 1

The timesvc service is running. One should expect receiving multicast
messages each 2 second..not?
But the ethernetsniffer does'nt show any actvity.

Any idea why?- Tekst uit oorspronkelijk bericht niet weergeven -

- Tekst uit oorspronkelijk bericht weergeven -

Paul, Thanks for the quick response.
But this is what I read in the PB-help...
1: Multicast : REG_DWORD Specifies the IPv4 address for multicast
mode. Setting this value to 1 turns on the multicast server.
2: Multicastperiod : REG_DWORD Specifies the interval between
subsequent multicasts.

Then I do not understand why I did it wrong.... which IP- adres is
required (something like 192.168.2.255?) ,
what's the effect of setting the "value to 1"

Multicastperiod : Is the minimum period documented somewhere?- Tekst uit oorspronkelijk bericht niet weergeven -

- Tekst uit oorspronkelijk bericht weergeven -

Paul,

I did not realise that the documenation of MS is as bad as you
describe. From now on I will look into the code first.....
Thank you very much for response, your information was most
helpfull.

Freeck
.



Relevant Pages

  • Re: time server problem
    ... I don't trust *any* printed documentation fully. ... registry parameters, happens to be worse than most... ... In the case of the multicast value, it can be a) a REG_DWORD that ... 1: Multicast: REG_DWORD Specifies the IPv4 address for multicast ...
    (microsoft.public.windowsce.embedded)
  • Re: time server problem
    ... In the case of the multicast value, it can be a) a REG_DWORD that contains ... what it does than the documentation does. ... registry settings to indicate to the docs team that the documentation is ... Paul T. ...
    (microsoft.public.windowsce.embedded)
  • Re: Receiving multicast packets WINCE500 bug
    ... Known-good code is safer than just working from the documentation. ... Paul T. ... application code is different than for the IP Multicast case. ... vanilla sockets. ...
    (microsoft.public.windowsce.embedded)
  • Re: Class D SM
    ... Each multicast address is unique - therefore a prefix of /32 or ... The concept of subnet addressing does not apply to IP multicast ...
    (comp.dcom.sys.cisco)
  • Re: Multicast question
    ... I have a new system running Solaris 10 set up as an NTP server. ... IT is synchronizing correctly but I cannot get it to multicast on any interface except the systems primary Ethernet interface, ... Basically multicast configuration is sort of configured backwards. ...
    (comp.protocols.time.ntp)