Server of priston tale rewritten in C++