protected override void OnStart(string[] args) { IPEndPoint endPoint = GetConfig(); DumpConfig(endPoint); service = new MulticastServer(endPoint); service.Start(); }
protected override void OnStop() { service.Stop(); service = null; }