c++ network utilits