Example #1
0
        public void Dispose()
        {
            if (disposed)
            {
                return;
            }

            handler?.Dispose();
            handler        = null;
            IncomingCipher = null;
            OutgoingCipher = null;
            Manager        = null;
            Socket         = null;
            Character      = null;
            Account        = null;
            Player?.Dispose();
            Player         = null;
            Random         = null;
            ConnectedBuild = null;
            disposed       = true;
        }
Example #2
0
 public void BeginProcess()
 {
     //log.InfoFormat($"Received client @ {Socket.RemoteEndPoint}.");
     handler = new NetworkHandler(this, Socket);
     handler.BeginHandling();
 }
Example #3
0
 public void BeginProcess()
 {
     handler = new NetworkHandler(this, Socket);
     handler.BeginHandling();
 }