rtime  time (37) fetch program

Rtime is a quite simple C-program to get the time from a remote host using the time (port 37, RFC868) protocol. It is licensed under GPL.

I wrote it to test my skills in socket programming.

1   Features

The rtime program is very similar to rdate (that can be found in most unix distributions) with the advantage that you can specify the port to connect to (if it is not 37). The disadvantage (and safty thing) is that you can not use it to set the time of the local computer.

2   Download

If you are interrested in this project you can find the source. This file is generated on the fly from SVN so be patient.

3   Documentation

The usage is very simple: 'rtime hostname [port/service]'. You will get the date on the next line.

4   Development

All feedback are welcome.

It you are interested it is possible to view the SVN-tree.


Copyright © 2005 Ola Lundqvist
Last updated: Sat Sep 24 22:52:29 2005 (CET).
Author: Ola Lundqvist
URL: http://www.opal.dhs.org/programs/rtime/index.oml
Administrator: webmaster@inguza.net