Server written in C