Example #1
0
 public Client(Interface.Form1 ui)
 {
     serverEndPoint = new IPEndPoint(serverAddress, serverPort);
     Bf             = new BinaryFormatter();
     exitRequested  = false;
     sendStack      = new List <NETMSG>();
     this.ui        = ui;
 }
Example #2
0
 public Client(Interface.Form1 ui)
 {
     CLIENT_TAG     = "[CLIENT*: " + this.GetHashCode() + "]";
     serverEndPoint = new IPEndPoint(serverAddress, serverPort);
     Bf             = new BinaryFormatter();
     exitRequested  = false;
     sendStack      = new List <NETMSG>();
     this.ui        = ui;
 }