${log.root}/lowem.log
Inflation, Investing and Everything


All | Energy | Java | Tech | Musings | Env | Biz

AddThis Feed Button
20061129 Wednesday November 29, 2006

NTP over HTTP

en.wikipedia.org -> clevervest.com -> rkeene.org :

The problem - you know how inaccurate your PC clock is. You would like the clock to keep correct time, perhaps for your appointments, meetings and so on. But the (corporate) firewall you're behind may block almost everything except HTTP for web surfing. So you cannot use normal NTP (Network Time Protocol) clients.

The solution - use a HTP (HTTP Time Protocol) client. It makes use of the fact that the HTTP headers include a date/time field. For example, if I do a telnet www.microsoft.com 80, I'll get something like this :

HTTP/1.1 200 OK
Date: Wed, 29 Nov 2006 06:28:26 GMT
Server: Microsoft-IIS/6.0
P3P: CP="ALL IND DSP COR ADM CONo CUR CUSo IVAo IVDo PSA PSD TAI TELo OUR SAMo CNT COM INT NAV ONL PHY PRE PUR UNI"
X-Powered-By: ASP.NET
X-AspNet-Version: 2.0.50727
Cache-Control: private
Content-Type: text/html; charset=utf-8
Content-Length: 32304

So, while *you* cannot access NTP directly, you *hope* that some of these web servers by major corporations have their clocks set by NTP correctly. And that they transmit this information in the HTTP headers. By taking an average reading from a few web servers, the client *hopes* to get some kind of reasonably accurate reading of the current time. So it is NTP over HTTP - well, sort of. HTP client download here.

(2006-11-29 14:38:29 SGT) [Tech] Permalink

Comments:

Post a Comment:

Comments are closed for this entry.

Your Ad Here


Most popular blog postings on lowem.log :

1. Singapore MRT rail network length to double by 2020
2. 2010 Nissan Leaf electric car specifications : 107hp, 24KWh lithium-ion batteries, 100-mile range
3. Live spot gold price quotes chart on COMEX
4. 2010 Toyota Prius specifications released : 50 mpg, 1.8L, 134hp, Ni-MH, solar roof option
5. AVG Anti-Virus Free Edition 2011 direct download link
6. Real-time live gold and silver price quotes chart on COMEX
7. Singapore electric vehicles : Government agencies EMA and LTA to study EV introduction
8. Book review : Shut Down by William Flynn

Featured articles on lowem.log :

1. Book review : Shut Down by William Flynn
2. Singapore electric cars testing starts with 9 electric vehicles
3. Honda, GS Yuasa JV to make lithium-ion batteries for 2010/2011 Honda Civic Hybrid
4. 2010 Honda Civic Hybrid preliminary specifications released
5. 2010 Honda CR-Z hybrid, 2010 Honda Fit/Jazz hybrid models confirmed
6. 2010 Toyota Prius specifications released : 50 mpg, 1.8L, 134hp, Ni-MH, solar roof option
7. NYMEX crude oil recovers from $32.40 low after 2.2 mbpd OPEC production cut announced
8. Singapore : Nuclear power not ruled out



search
sponsored links


bookmarks

about
my profile
contact me

blogroll
biow/ken/wenn
reviewem
afternote

sites
photo gallery
wiki

quotes
live oil prices
live gold prices

charts
live forex rates
live oil chart
live brent crude chart
live gold chart
live silver chart

historical
crude oil chart
gold chart
silver chart


navigation
decals

Click for Singapore, Singapore Forecast





rss feed for lowem.log

Get Firefox!

powered by
hosted by