Ejemplo n.º 1
0
        public void Communicate()
        {
            SocketCommunication socketCommunication = new SocketCommunication();

            if (socketCommunication.IsConnected())
            {
                System.Console.WriteLine("Socket communication established");
                AdminController ctrl = new AdminController(socketCommunication);
                ctrl.HandleCommands();
            }
            socketCommunication.ReleaseSocket();
        }