Mailing Lists: Apple Mailing Lists

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

DNSServiceQueryRecord callback won't do



Hi List,

I found quite an extensive discussion on the use of DNSServiceQueryRecord
and the callback found in:

Subject: DNSServiceQueryRecord (was Re: FreeBSD and Solaris)
From: Eric Wing <email@hidden>
Date: Thu, 15 Jul 2004 20:50:15 -0700 (PDT)

But it ends with the remark that the callback doesn't seem to work.
On a linux system, I have a situation like that:

When I use DNSServiceResolve(...) and call the DNSServiceProcessResult
(direct or with a select() loop), the service gets resolved and a hostname
+ port number is available.

But I'd like to use the DNSServiceQueryRecord instead with a seperate
select() loop to make it possible keep shared services.
Using DNSServiceQueryRecord with and call the DNSServiceProcessResult
(again direct of with a select() loop), nothing happens.

I use exact the same servicename,type and domain for both and for the
rrtype and rrclass = 1;

In order to use the DNSServiceQueryRecord, do I need to do some
initialization or something ? Or to make my question a bit more generic.
Someone has any suggestions what could solve this ?

Kind Regards,

Olger


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Rendezvous-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/rendezvous-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.