Mailing Lists: Apple Mailing Lists

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

Re: Callback for DNSServiceResolverResolve



Brian,

The callback will get called once for every IP address the device has. Printers can get tricky because in the case of LPR, the printer might have multiple TXT records, one for each queue, and this will cause the callback to be called multiple times and each time the TXT record will be different.

But in the case of a device with one IP address and one TXT record, your callback should be called one time.

I'm not sure why your callback would get called with only the last 85 bytes of the TXT record. I've never seen that. How many bytes is your TXT record?

-Marc



On Oct 6, 2003, at 3:58 PM, Brian Harriss wrote:

How many times should I expect my callback for DNSServiceResolverResolve to
be called? If I run the SamplemDNSClient with -L, I see the callback gets
called 3 separate times. The first callback contains the complete TXT
record, the second contains the last 85 bytes or so of the TXT record, and
the 3rd doesn't contain the TXT record at all. Is this expected behavor, or
is this perhaps indicating that there's something amiss with the device's
Rendezvous implementation?


  --Brian


--
Brian Harriss Software Engineer
email@hidden GCC Technologies
_______________________________________________
rendezvous mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/rendezvous
Do not post admin requests to the list. They will be ignored.
_______________________________________________
rendezvous mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/rendezvous
Do not post admin requests to the list. They will be ignored.

References: 
 >Callback for DNSServiceResolverResolve (From: Brian Harriss <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.