Network engine in C++