[feature] fix the variable name of xsocket()