i'm working on adding bonjour discovery to a research project of
mine but am running into a few problems. first, this is a linux
program using the C API provided by apple, dns_sd.h. 2nd, i'm just
trying to get advertisement working at this point. i have my code
included in a select loop, it runs once and successfully calls my
callback function, but it doesn't seem to advertise at that point.
below is a snippet of console.log with the internal state of the
mDNSResponder (this is in panther. i want to get it working on mac
before trying in linux.) the services above are registered and
browseable, but my service, _mbserver, is not all the way
registered. it's also not showing the port i assigned it. any ideas?
Jun 10 10:00:20 gigabit mDNSResponder[173]: 8451:
ServiceRegistration gigabit._ssh._tcp.local.
Jun 10 10:00:20 gigabit mDNSResponder[173]: 8195:
ServiceRegistration gigabit [00:0d:93:2a:af:
12]._workstation._tcp.local.
Jun 10 10:00:20 gigabit mDNSResponder[173]:
DNSServiceRegister nate's mediabroker._mbserver._tcp._local.
Did you ever figure this out? What do you mean by not all the way
registered? You discover the port number by resolving the service.
You can do this in Terminal...
mDNS -L "nate's mediabroker" _mbserver._tcp. local
Actually, I just noticed one problem in your log message. You've
registered in the "_local" domain. You should remove the underscore
from the front of "local."
Best Regards,
-Marc
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Bonjour-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/bonjour-dev/email@hidden