All Projects → eklitzke → event-clock

eklitzke / event-clock

Licence: ISC license
A simple UDP clock service, using libevent

This implements a simple UDP clock service using libevent. It's mostly just an example of a simple libevent program.

You send it an empty UDP packet on the port it listens on (by default 1497), and it responds with a struct timeval representing the time from the last clock event.

You build and run the clock server like this: make ./clock

You run the client program like this: python client.py

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].