using System;
using System.Text;
using System.Net;
-using Gtk;
using Avahi;
public class AvahiTest {
eg.AddService ("foobar2", "_daap._tcp", client.DomainName,
444, new string[] { "foo", "bar", "baz" });
eg.Commit ();
-
- Application.Run ();
+ Console.WriteLine ("Press enter to quit");
+ Console.ReadLine ();
}
private static void OnEntryGroupChanged (object o, EntryGroupState state)