revise c++ client