Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/yanorei32/timed-rs

It's a implementation of "TCP Based Time Service" Time Protocol [RFC868].
https://github.com/yanorei32/timed-rs

rfc-868 rfc868 rust

Last synced: 4 days ago
JSON representation

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

Awesome Lists containing this project

README

        

# timed-rs (time daemon rs)

It's a implementation of "TCP Based Time Service" [Time Protocol [RFC868]](https://datatracker.ietf.org/doc/html/rfc868).

> [!NOTE]
> For human readable time use the Time Protocol (RFC-867)
>
> for Japanese: [yanorei32/nichijid-rs](https://github.com/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
```