/// <summary> /// Begin listening on all configured network sockets /// </summary> private void BeginListening() { if (!listening) { listening = true; // Begin web server listening if (webServer != null) { webServer.BeginListening(); } // Bind all configured listen ports foreach (ushort listenPort in MasterServer.Settings.ListenPorts) { Bind(listenPort); } } }