httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jem Berkes" <>
Subject mod_rdate, for what it's worth
Date Mon, 04 Jul 2005 01:46:16 GMT
I wrote a little mod_rdate if anyone is interested,

rdate allows a host to synchronize its time to a server, with approximately 
1-second accuracy. It is far inferior to NTP but so much simpler and still 
my preferred method for dealing with drifting clocks. It gets the job done.

In /etc/services, port 37 is the "time" service. Upon connecting, the 
client simply reads back a 32-bit value representing seconds since 1900. My 
mod_rdate.c is NOT well tested, and may not be very portable.

But hey, there you go, arbitrary protocol :)

View raw message