add Comm and moified Socket2