Beispiel #1
0
 /// <summary>
 /// client send message
 /// </summary>
 /// <param name="content"></param>
 public void Send(string content)
 {
     SocketListen.Send(Socket, content, this);
 }
Beispiel #2
0
 /// <summary>
 /// disconnect this client
 /// </summary>
 public void DisConnect()
 {
     State.Status = StateEnum.ServerStop;
     SocketListen.Send(Socket, "server exit", this);
 }