Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 72813
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 10, 20262026-05-10T20:06:13+00:00 2026-05-10T20:06:13+00:00

In either a Windows or Mac OS X terminal if you type… nslookup -type=SRV

  • 0

In either a Windows or Mac OS X terminal if you type…

nslookup -type=SRV _xmpp-server._tcp.gmail.com 

… (for example) you will receive a bunch of SRV records relating to different google chat servers..

Does anyone have any experience in this area and possibly know how to service this information (hostname, port, weight, priority) using the iPhone SDK? I have experimented with the Bonjour classes, but as yet have had no luck..

Thanks!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. 2026-05-10T20:06:13+00:00Added an answer on May 10, 2026 at 8:06 pm

    I believe you need to use the DNSServiceDiscovery framework. I don’t have the iPhone SDK, but a Google search suggests that it is available on the iPhone.

    See the Apple Developer Site for full API details.

    I’ve included some (incomplete) sample code too:

    #include <dns_sd.h>  int main(int argc, char *argv[]) {    DNSServiceRef sdRef;    DNSServiceErrorType res;     DNSServiceQueryRecord(      &sdRef, 0, 0,      '_xmpp-server._tcp.gmail.com',      kDNSServiceType_SRV,      kDNSServiceClass_IN,      callback,      NULL   );    DNSServiceProcessResult(sdRef);   DNSServiceRefDeallocate(sdRef); } 

    You’ll need to provide your own callback function, and note that the rdata field sent to the callback is in wire-format, so you’ll have to decode the raw data from the SRV record fields yourself.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Given: Mac with either Parallels or VMWare A virtual machine with Windows installed. A
I'm trying to figure out the visitor's OS is either a Windows, Mac or
Most of my programming experience has either been using forms (Windows Forms, or ASP.NET)
I'm working on an application that displays some child windows which can either be
I have a Perl script that I'd like to run on Windows, using either
Using Windows XP and Python 2.7 I tried to run pydoc through the terminal.
I'm looking for a way to make a dual executable file for Windows/Mac. That
Environment: Main platform: MAC OSX 10.6 Secondary platform via VMWare Fusion: Windows 7 64-bit
I am using VMWare Fusion on my mac to test sites on a windows
Is there a way to record the screen, either desktop or window, using .NET

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.