New version of pinetd in C++