> Try using the same interface index that was
successful for the
> resolve on the query. (A resolve is just a
special-purpose form of a
> query, after all.)
>
> You can also try using the dns-sd tool (in Clients)
with the -Q option
> to query for the same record using a different (and,
we think,
> working) code base. That ought to answer some
questions about
> whether it's your client or something else that is
acting up.
>
> Roger.
Thanks for the response. But I still seem to be having
problems.
First, I tried using the same interface index
"rdata_array[0].interfaceIndex" to the Query function
that was passed to my Resolve function, but it didn't
seem to affect anything.
Second, I tried the dns-sd program, but I also had a
few problems.
First, I couldn't figure out how to build dns-sd on OS
X Panther without building and installing a new
mDNSResponder. I'm assuming I don't want to clobber my
existing Rendezvous system built into the Mac.
Second, I went to my Linux box on the same internal
network which I did build dns-sd. But I'm not totally
sure if I entered the parameters correctly. The <FQDN>
parameter was the one I understood the least.
But, first, I typed in,
./dns-sd -Q "Mytest._http._tcp.local." 1 1
but the client just hung there. I tried running my
test server both locally on the Linux box, and on my
Mac.
Worried that maybe I messed up my server code, I tried
querying an existing service. I know the Apple
filesharing was on from my Mac so I tried:
./dns-sd -Q "macbox._afpovertcp._tcp.local." 1 1
But this test just hung there too.
So I'm not sure if I'm doing anything right now.
On a side note, I noticed the API functions for
DNSServiceAddRecord and DNSServiceRegisterRecord. I am
currently not using any of those. I just want the IP
address from the name I resolved. Am I expected to use
these functions because I don't know what I would
enter as parameters to these?
Thanks,
Eric
_______________________________________________
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.