update NetHelper.cpp