]> git.meshlink.io Git - catta/blobdiff - avahi-sharp/AvahiTest.cs
lose the dep on avahi-glib, and run the avahi loop in a thread
[catta] / avahi-sharp / AvahiTest.cs
index 7be4b0650867646caa96b8ba0c85295d87dd011c..042bc28fa5a7f8ff2316a61229c2eef1078232cd 100644 (file)
@@ -73,7 +73,7 @@ public class AvahiTest {
 
        private static void OnServiceResolved (object o, ServiceInfo info)
        {
-               Console.WriteLine ("Service '{0}' at {1}:{2}", info.Name, info.Host, info.Port);
+               Console.WriteLine ("Service '{0}' at {1}:{2}", info.Name, info.HostName, info.Port);
                foreach (byte[] bytes in info.Text) {
                        Console.WriteLine ("Text: " + Encoding.UTF8.GetString (bytes));
                }