Exemple #1
0
        private void AutostartListening()
        {
            if (Settings.AutoListen && Settings.UseUPnP)
            {
                UPnP.Initialize(Settings.ListenPort);
                ListenServer.Listen(Settings.ListenPort);
            }
            else if (Settings.AutoListen)
            {
                UPnP.Initialize();
                ListenServer.Listen(Settings.ListenPort);
            }
            else
            {
                UPnP.Initialize();
            }

            if (Settings.EnableNoIPUpdater)
            {
                NoIpUpdater.Start();
            }
        }
Exemple #2
0
        private void AutostartListening()
        {
            if (Ayarlar.AutoListen && Ayarlar.UseUPnP)
            {
                UPnP.Initialize(Ayarlar.ListenPort);
                ListenServer.Listen(Ayarlar.ListenPort);
            }
            else if (Ayarlar.AutoListen)
            {
                UPnP.Initialize();
                ListenServer.Listen(Ayarlar.ListenPort);
            }
            else
            {
                UPnP.Initialize();
            }

            if (Ayarlar.EnableNoIPUpdater)
            {
                NoIpUpdater.Start();
            }
        }