Exemplo n.º 1
0
 public ChatClient(XSocket chatSocket)
 {
     XSocket                        = chatSocket;
     XSocket.OnReceive             += XSocketOnReceive;
     XSocket.ConnectionClosedEvent += XSocketOnConnectionClosedEvent;
     XSocket.Read(true);
 }
Exemplo n.º 2
0
 public PolicyClient(XSocket gameSocket)
 {
     XSocket            = gameSocket;
     XSocket.OnReceive += XSocketOnOnReceive;
     XSocket.Read(true);
 }