time synch.

Hi all,
slightly off topic, does anybody know how to synchronize the time of
the workstation to some other computer. U can use “net time” console command
for that. But I want to do that programmatically in my application. (I dont
want to run a batch file often). Any ideas…

Regards,
Chaitanya

Check Windows NT 4.0 Resource Kit utility Timeserv.exe.

Jeffrey

-----Original Message-----
From: Bhaava Chaitanya Kancherla
[mailto:xxxxx@cmcltd.com]
Sent: Thursday, May 18, 2000 11:49 PM
To: NT Developers Interest List
Subject: [ntdev] time synch.

Hi all,
slightly off topic, does anybody know how to
synchronize the time of
the workstation to some other computer. U can use “net time”
console command
for that. But I want to do that programmatically in my
application. (I dont
want to run a batch file often). Any ideas…

Regards,
Chaitanya


You are currently subscribed to ntdev as: xxxxx@morecom.com
To unsubscribe send a blank email to $subst(‘Email.Unsub’)

Hi Jeffrey,
Thanks for the tip, but I would like to program that thing, and I
dont something like timeserv, which synchronizes with a remote time standard
server. I have my own server,and i want my clients to synch with it.
Anybody know how “net time” command works…

Regards,
Chaitanya

----- Original Message -----
From: Jeffrey Wang
To: NT Developers Interest List
Sent: Friday, May 19, 2000 7:28 PM
Subject: [ntdev] RE: time synch.

> Check Windows NT 4.0 Resource Kit utility Timeserv.exe.
>
> Jeffrey
>
> > -----Original Message-----
> > From: Bhaava Chaitanya Kancherla
> > [mailto:xxxxx@cmcltd.com]
> > Sent: Thursday, May 18, 2000 11:49 PM
> > To: NT Developers Interest List
> > Subject: [ntdev] time synch.
> >
> >
> > Hi all,
> > slightly off topic, does anybody know how to
> > synchronize the time of
> > the workstation to some other computer. U can use “net time”
> > console command
> > for that. But I want to do that programmatically in my
> > application. (I dont
> > want to run a batch file often). Any ideas…
> >
> > Regards,
> > Chaitanya
> >
> >
> > —
> > You are currently subscribed to ntdev as: xxxxx@morecom.com
> > To unsubscribe send a blank email to $subst(‘Email.Unsub’)
> >
>
> —
> You are currently subscribed to ntdev as: xxxxx@cmcltd.com
> To unsubscribe send a blank email to $subst(‘Email.Unsub’)

Hi,
Regd the Timesync, I found that there is a Netapi “NetRemoteTOD”
that gets the time of the remote machine. In the docs, it is said that no
special group membership is reqd. to execute this command. But this command
is not working unless I connect to the remote machine.
Did anybody use this command before…

Chaitanya

Hi Chaitanya!

Timeserv can synchronize time by Network Time Protocol. It is specified in RFC-1305. Check this URL http://www.eecis.udel.edu/~ntp… The protocol is rather complex, but you may find multi-platform open sources there…

Best regards,
Vladimir.

-----Original Message-----
From: xxxxx@csie.nsys.by [mailto:xxxxx@csie.nsys.by]On Behalf Of Bhaava Chaitanya Kancherla
Sent: 22 мая 2000 г. 8:06
To: NT Developers Interest List; xxxxx@csie.nsys.by
Subject: [ntdev] RE: time synch.

Hi Jeffrey,
Thanks for the tip, but I would like to program that thing, and I
dont something like timeserv, which synchronizes with a remote time standard
server. I have my own server,and i want my clients to synch with it.
Anybody know how “net time” command works…

Regards,
Chaitanya

----- Original Message -----
From: Jeffrey Wang
To: NT Developers Interest List
Sent: Friday, May 19, 2000 7:28 PM
Subject: [ntdev] RE: time synch.

> Check Windows NT 4.0 Resource Kit utility Timeserv.exe.
>
> Jeffrey
>
> > -----Original Message-----
> > From: Bhaava Chaitanya Kancherla
> > [mailto:xxxxx@cmcltd.com]
> > Sent: Thursday, May 18, 2000 11:49 PM
> > To: NT Developers Interest List
> > Subject: [ntdev] time synch.
> >
> >
> > Hi all,
> > slightly off topic, does anybody know how to
> > synchronize the time of
> > the workstation to some other computer. U can use “net time”
> > console command
> > for that. But I want to do that programmatically in my
> > application. (I dont
> > want to run a batch file often). Any ideas…
> >
> > Regards,
> > Chaitanya
> >
> >
> > —
> > You are currently subscribed to ntdev as: xxxxx@morecom.com
> > To unsubscribe send a blank email to $subst(‘Email.Unsub’)
> >
>
> —
> You are currently subscribed to ntdev as: xxxxx@cmcltd.com
> To unsubscribe send a blank email to $subst(‘Email.Unsub’)


You are currently subscribed to ntdev as: xxxxx@csie.nsys.by
To unsubscribe send a blank email to $subst(‘Email.Unsub’)