Exemple #1
0
 public ChatClient(XSocket chatSocket)
 {
     XSocket                        = chatSocket;
     XSocket.OnReceive             += XSocketOnReceive;
     XSocket.ConnectionClosedEvent += XSocketOnConnectionClosedEvent;
     XSocket.Read(true);
 }
 public PolicyClient(XSocket gameSocket)
 {
     XSocket            = gameSocket;
     XSocket.OnReceive += XSocketOnOnReceive;
     XSocket.Read(true);
 }