Rewrite daytime server code in C++
[Reference](http://alas.matf.bg.ac.rs/manuals/lspe/snode=70.html)