Esempio n. 1
0
        public Transfer()
        {
            OptionsLoader ol = new OptionsLoader();
            int port = 8081;
            if (ol.Port > 0)
            {
                port = ol.Port;
            }
            else
            {
                // The default in case nothing else is set
                port = 8081;
            }

            this.tcpl = new MyTcpListener(port);
        }
Esempio n. 2
0
        public Transfer()
        {
            OptionsLoader ol   = new OptionsLoader();
            int           port = 8081;

            if (ol.Port > 0)
            {
                port = ol.Port;
            }
            else
            {
                // The default in case nothing else is set
                port = 8081;
            }

            this.tcpl = new MyTcpListener(port);
        }