Solved

How to implement DIG in C++ ???

Posted on 2003-11-29
2
692 Views
Last Modified: 2012-05-04
I'm trying to make an SMTP server to send emails.
The problem is that I have to know where to send the data (until now it just relays to some fixed smtp servers on the net).
I therefore need to implement some kind of dig (I was told something like MX...???)
Could you explain me how to do it?
And if possible post some code (that works on Windows)?

.: Snyke :.
0
Comment
Question by:Snyke
2 Comments
 
LVL 16

Accepted Solution

by:
_nn_ earned 125 total points
ID: 9843033
Following URL seems to have what you need :
http://www.codeguru.com/internet/DnsResolver.html
0
 
LVL 1

Author Comment

by:Snyke
ID: 9843477
Isn't there a lighter thing?
I just need something to get the MXs and this one gets everything, making my program really heavy...
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Quicksort a dynamic deque 33 73
mixing C++ & C# in Vis Studio 2013 7 198
thread-safe code in c++ 2 115
Gaming Software 1 19
Article by: SunnyDark
This article's goal is to present you with an easy to use XML wrapper for C++ and also present some interesting techniques that you might use with MS C++. The reason I built this class is to ease the pain of using XML files with C++, since there is…
Many modern programming languages support the concept of a property -- a class member that combines characteristics of both a data member and a method.  These are sometimes called "smart fields" because you can add logic that is applied automaticall…
The goal of the video will be to teach the user the difference and consequence of passing data by value vs passing data by reference in C++. An example of passing data by value as well as an example of passing data by reference will be be given. Bot…
The viewer will learn how to use the return statement in functions in C++. The video will also teach the user how to pass data to a function and have the function return data back for further processing.

856 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question