Re: comment for Net_NTP
| From: | Cipriano Groenendal | Date: | Wed, 08 Sep 2004 16:41:00 +0000 |
| Subject: | Re: comment for Net_NTP | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-33299@lists.php.net to get a copy of this message | ||
> I think this is *Daytime Protocol (RFC-867) *and not NTP.
> Sorry If I'm wrong.
You are 100% Correct.
After reading the source, it indeed seems to conenct to the Daytime
port(13), as specified in RFC 867.
This RFC clearly states:
There is no specific syntax for the daytime. It is recommended that
it be limited to the ASCII printing characters, space, carriage
return, and line feed. The daytime should be just one line.
It lists the format that's parsed by the Net_NTP package, but without a
standard it'll be impossible for the package to accurately parse the time.
It's a nice way to get the human-readable version of the current time right
away, but in NO way is it going to give 100% accurate results with all
servers.
Cipri