Discussion in 'C Programming' started by Teo81, Dec 12, 2005.

  1. Teo81

    Teo81 Guest

    I want to comunicate directly to a dns server using c. I have managed
    to connect to the dns server but I am not able to ask it to translate a
    user friendly address to an IP address ( for example: translate
    www.myaddress.org into ).

    Can someone help me, please?
    Teo81, Dec 12, 2005
    1. Advertisements

  2. Teo81

    Flash Gordon Guest


    You can't, you will have to use some system specific library since
    standard C does not include any networking support. Try asking on a
    group dedicated to your system.
    Flash Gordon, Dec 12, 2005
    1. Advertisements

  3. Christopher Benson-Manica, Dec 12, 2005
  4. Mighty off topic here.

    <Off topic OS="POSIX">
    Try 'man gethostbyname'
    </Off topic>
    Kleuskes & Moos, Dec 12, 2005
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.