One of my 2nd yr projects. It's pretty much what it says, an RFC4330 compliant SNTP server & client with both unicast and multicast addressing modes. I've put the relevant RFC in docs/ along with design docs and screenshots of the working binaries (console logs & wireshark).
For information on the game's system requirements, see docs/requirements.txt
- Either compile src/ or just use the pre-built binaries in bin/
- run
./server-*
, * = unicast/multicast- Usage for server-unicast
./server-unicast
- Usage for server-multicast
./server-multicast broadcast_interface <port>
(<> = optional)
- Usage for server-unicast
- run
./client-*
, * = unicast/multicast- Usage for client-unicast
./client-unicast <host address> <port>
(<> = optional) - Usage for client-mcasts `./client-mcasts
- Usage for client-unicast
Compiling is really simple, so I didn't bother with a Makefile or anything.
gcc src/* -o bin/*
(* = file, needs to be specified)- Done!