Beispiel #1
0
 public ClientTest()
 {
     Client = new AsyncSocketComm();
     Client.ClientConnected += Client_ClientConnected;
     Client.DataReceived    += Client_DataReceived;
     Client.DataSend        += Client_DataSend;
 }
Beispiel #2
0
 public ClientTCP()
 {
     Client = new AsyncSocketComm();
     Client.ClientConnected += Client_ClientConnected;
     Client.DataReceived    += Client_DataReceived;
     Client.DataSend        += Client_DataSend;
     Client.SocketException += Client_OnSocketException;
 }