public void setup(Dictionary<string, string> variableList)
        {
            action = new InputHTTPAction(core);
            try
            {
                if (System.Configuration.ConfigurationSettings.AppSettings.AllKeys.Contains("httpPort"))
                    port = Int32.Parse(System.Configuration.ConfigurationSettings.AppSettings["httpPort"]);
                myListener = new TcpListener(port);
            }
            catch (Exception e)
            {
                UIMain.fatalError("[InputHTTP] Unable to open port : "+port+"\n"+e.Message);
            }

        }
 public InputHTTPHandle(ref Socket mySocket, InputHTTPAction action, List<String> availableSlides)
 {
     this.mySocket = mySocket;
     this.action = action;
     this.availableSlides = availableSlides;
 }