Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bonjour C API: DNSServiceRegister



hi everyone,

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.


nate rivard
email@hidden

_______________________________________________
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

This email sent to email@hidden


Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.