• 软件测试技术
  • 软件测试博客
  • 软件测试视频
  • 开源软件测试技术
  • 软件测试论坛
  • 软件测试沙龙
  • 软件测试资料下载
  • 软件测试杂志
  • 软件测试人才招聘
    暂时没有公告

字号: | 推荐给好友 上一篇 | 下一篇

RFC738 - Time server

发布: 2007-6-23 14:09 | 作者:   | 来源:   | 查看: 19次 | 进入软件测试论坛讨论

领测软件测试网

   
  NWG/RFC# 738 KLH 31 Oct 77 42218
Network Working Group K. Harrenstien
Request for Comments: 738 SRI-KL
NIC: 42218 31 October 1977

Time Server

This note describes the Time Server protocol, as currently implemented

on ITS hosts (i.e. MIT-(AI/ML/MC/DMS)). The idea is to provide a
site-independent, machine readable date and time in as efficient and
swift a manner as possible; its motivation arises from the fact that not
all systems have a date/time clock, and all are subject to occasional
human or machine error. The use of time-servers makes it possible to
quickly confirm or correct a system's idea of the time, by making a
brief poll of several independent sites on the.network.

In particular the network time server works as follows:

S: Listen on socket 37 (45 octal).

U: Connect to socket 37 [not ICP].

S: Send the time as a 32 bit binary number.

U: Close the connection.

S: Close the connection.

Note that this is not a normal ICP sequence. Rather, instead of sending
a 32-bit socket number to reconnect to, the server returns a 32-bit time
value and closes the connection. If the server is unable to determine
the time at its site, it should either refuse the connection or close it
without sending anything.

The time is the number of seconds since 0000 (midnight) 1 January 1900
GMT, such that the time 1 is 12:00:01 am on 1 January 1900 GMT; this
base will serve until the year 2036. As a further example, the most
recent leap year as of this writing began from the time 2,398,291,200
which corresponds to 0000 1 Jan 1976 GMT.

延伸阅读

文章来源于领测软件测试网 https://www.ltesting.net/


关于领测软件测试网 | 领测软件测试网合作伙伴 | 广告服务 | 投稿指南 | 联系我们 | 网站地图 | 友情链接
版权所有(C) 2003-2010 TestAge(领测软件测试网)|领测国际科技(北京)有限公司|软件测试工程师培训网 All Rights Reserved
北京市海淀区中关村南大街9号北京理工科技大厦1402室 京ICP备2023014753号-2
技术支持和业务联系:info@testage.com.cn 电话:010-51297073

软件测试 | 领测国际ISTQBISTQB官网TMMiTMMi认证国际软件测试工程师认证领测软件测试网