Exemplo n.º 1
0
        protected override void OnStart(string[] args)
        {
            IPEndPoint endPoint = GetConfig();

            DumpConfig(endPoint);

            service = new MulticastServer(endPoint);
            service.Start();
        }
Exemplo n.º 2
0
 protected override void OnStop()
 {
     service.Stop();
     service = null;
 }