private void InitSocket() { _scm = new SocketClientManager(ip, port); _scm.OnReceiveMsg += OnReceiveMsg; _scm.OnConnected += OnConnected; _scm.OnFaildConnect += OnFaildConnect; _scm.Start(); }