Exemple #1
0
 public bool Connect()
 {
     return(SocketHandler.Connect(this));
 }
Exemple #2
0
 public bool Disconnect()
 {
     SocketHandler.Disconnect(this);
     return(true);
 }
Exemple #3
0
 public int Send(byte[] buffer)
 {
     Console.WriteLine("{0} -> Send()", this.Name);
     SocketHandler.Send(this, buffer);
     return(buffer.Length);
 }