rdate

Hi Colin,

What do we need on a NT server to request the date via rdate?

Thanks,
Alain.

Alain Bonnefoy <alain.bonnefoy@icbt.com> wrote:

Hi Colin,

What do we need on a NT server to request the date via rdate?

It uses rfc 868, and connects to port 37. The server responds
with seconds since 1900, as a binary time_t. rdate then subtracts
2208988800 from it to get seconds since 1970.

Thanks,
Alain.


cburgess@qnx.com

Colin Burgess a écrit :

Alain Bonnefoy <> alain.bonnefoy@icbt.com> > wrote:
Hi Colin,

What do we need on a NT server to request the date via rdate?

It uses rfc 868, and connects to port 37. The server responds
with seconds since 1900, as a binary time_t. rdate then subtracts
2208988800 from it to get seconds since 1970.

Thanks,
Alain.


cburgess@qnx.com

Maybe but when I try (today) ‘rdate -p 172.20.20.12’ I get:
Could not connect socket: Connection refused
Could not read data: Connection refused
Thu Jan 24 16:14:56 1985.


thanks,
Alain.

Maybe but when I try (today) ‘rdate -p 172.20.20.12’ I get:
Could not connect socket: Connection refused
Could not read data: Connection refused
Thu Jan 24 16:14:56 1985.

It sounds like your server isn’t providing that service. Did you say
that it is a NT machine? On unix machines, this service is provided
by inetd

You might need to run your own time daemon on the NT machine, I doubt
that it comes standard.


cburgess@qnx.com