Example #1
0
        public ClientConnection(LoginRegistration lr)
        {
            Thread t = new Thread(new ThreadStart(TryConnect));

            this.lr = lr;
            t.Start();
        }
Example #2
0
 public HandleServerConnection(NetworkStream clientStream, LoginRegistration lr)
 {
     this.lr          = lr;
     connectionStream = clientStream;
     if (clientStream != null)
     {
         connected = true;
     }
 }