Skip to content

Athular/event-clock

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

A simple UDP clock service, using libevent

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • C 73.7%
  • Python 23.1%
  • Makefile 3.2%