Usenet comp.unix.osf.misc (1992-2004)
 help / color / mirror / Atom feed
From: miket@frog.CRDS.COM (Michael C Tiernan)
Subject: Re: getting system date/time from another system
Date: Thu, 7 Jan 1993 19:02:36 GMT	[thread overview]
Message-ID: <1993Jan7.190236.7339@frog.CRDS.COM> (raw)
In-Reply-To: 1993Jan6.213842.15117@porthos.cc.bellcore.com

wws@iscp.bellcore.com (Wayne Scott) writes:
> I'm working on an X/Motif application in which I need to get the system time
> from another machine.  Is there a recommended/preferred way to do this?

	I do belive (yet to be confirmed) that the 'correct' or most
	recognized/universal way to do this is to telnet to port 13 on
	the host machine.  That is assuming you don't have a network
	time host.

	When I did it, I get:
		%> telnet natty 13
		Trying NNN.NNN.NNN.NNN ...
		Connected to natty.
		Escape character is '^]'.
		Thu Jan  7 13:56:38 1993
		Connection closed by foreign host.
		%>

> I forgot to mention... the environment is DEC/Alpha OSF/1.

	I'm not aware if that enters into the problem.

	Good luck with it all.
-- 
<< MCT >>  Michael C Tiernan. - GEnie:M.Tiernan - AOL:M Tiernan/BCS Mike 
UUCP = alfalfa!pro-angmar!m.tiernan OR miket@frog.UUCP
      It's too bad that it takes almost half of our life
	to realize that it was a "Do-It-Yourself" project.


      reply	other threads:[~1993-01-07 19:02 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <1993Jan6.213225.14974@porthos.cc.bellcore.com>
1993-01-06 21:38 ` getting system date/time from another system Wayne Scott
1993-01-07 19:02   ` Michael C Tiernan [this message]
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox