[Mono-list] Mono.Zeroconf 0.8.0 ... bug in resolve() orserviceremoved() functions ?

Andrew Jorgensen ajorgensen at novell.com
Mon Sep 29 13:01:09 EDT 2008


Bugs in Mono.Zeroconf should be filed on bugzilla.novell.com.  Choose Mono Class Libraries and select the Mono.Zeroconf component.

>>> Mark Jackson <mpfj at mimc.co.uk> 09/29/08 5:35 AM >>>
Hi

I've also found a problem moving from 0.7.6 to 0.8.0

In the code I'm developing, I have tested simple services scanning using
ServiceAdded and ServiceRemoved.  This all works fine ... i.e. I can see
machines being added / removed as they are powered on / off.

But if I then use ...

args.Service.Resolved += OnServiceResolved;
args.Service.Resolve();

... I can only see machines being *added* and never removed.

This also shows up with the MZClient tool.  Using MZClient, I first do a
default scan.  As you can see, it returns a list of (Ubuntu) workstations
(which are allrunning Avahi by default).

C:\Desktop\mono-zeroconf-0.8.0-binary\mono-zeroconf-0.8.0-binary
\bin>MZClient.exe
Hit ^C when you're bored waiting for responses.

*** Found name = 'ubuntu [00:18:f3:4a:23:70]', type = '_workstation._tcp.',
domain = 'local.'
*** Found name = 'mailhost [00:30:1b:ad:79:33]', type = '_workstation._tcp.',
domain = 'local.'
*** Found name = 'mpfj-ubuntu [00:13:8f:c7:99:f7]', type =
'_workstation._tcp.',domain = 'local.'
*** Found name = 'mob-ubuntu [00:1f:d0:55:7d:33]', type = 
'_workstation._tcp.',domain = 'local.'
^C

But if I then use the "resolve" option, it only gives us one result ...

C:\Desktop\mono-zeroconf-0.8.0-binary\mono-zeroconf-0.8.0-binary
\bin>MZClient.exe --resolve
Hit ^C when you're bored waiting for responses.

*** Found name = 'ubuntu [00:18:f3:4a:23:70]', type = '_workstation._tcp.',
domain = 'local.'
*** Resolved name = 'ubuntu\032[00:18:f3:4a:23:70]._workstation._tcp.local.',
host ip = '10.0.0.100', hostname = , port = '9', interface = '3', address 
type ='Any', TXT Record = [ = '']

... and that's it !!

So I'm guessing something's broken in the resolve code ???

Regards
Mark 

_______________________________________________
Mono-list maillist  -  Mono-list at lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list



More information about the Mono-list mailing list