退出登录关闭socket . 登录开启socket