add network and connected to my cpp server