add xsocket