I plan to use apple's DNSServiceQueryRecord to resolve SRV records. I see that the callback passed to this method is called once per record that is returned from SRV lookup. How do i know that the query has completed and all the records have been returned?
Apple's documentation for your reference.