public static void Main() { RaopServer server = new RaopServer(5000); Airplay notifier = new Airplay(5000); server.StartTcp(); notifier.Publish(); Console.Read(); notifier.Stop(); server.Stop(); }