Exemple #1
0
 /// <summary>
 /// 网络关闭
 /// </summary>
 public void Clear()
 {
     OnDisConnected();
     OnDisReciveEvent?.Invoke();
     skt.Close();
     skt = null;
 }
Exemple #2
0
 /// <summary>
 /// 网络关闭
 /// </summary>
 protected void Clear()
 {
     OnDisRecive();
     OnDisReciveEvent?.Invoke();
     mSocket.Close();
     mSocket = null;
 }
Exemple #3
0
 protected virtual void OnDisRecive()
 {
     OnDisReciveEvent?.Invoke();
     ("关闭了一个连接:").KLog();
 }