my c++ network framework implementation