Skip to content

It's a implementation of "TCP Based Time Service" Time Protocol [RFC868].

License

Notifications You must be signed in to change notification settings

yanorei32/timed-rs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

timed-rs (time daemon rs)

It's a implementation of "TCP Based Time Service" Time Protocol [RFC868].

Note

For human readable time use the Time Protocol (RFC-867)

for Japanese: yanorei32/nichijid-rs.

Examples

Server

./timed-rs # default port usage (0.0.0.0:37)
./timed-rs 0.0.0.0:3737 # specific port usage

NOTE: 37 is a well-known port. It may require administrative permission.

Client

$ nc 127.0.0.1 37 | xxd
00000000: e8f7 1e9a                                ....
$ rdate 127.0.0.1
rdate: [127.0.0.1]	Thu Nov  9 18:02:18 2023
4