Solved

How to implement DIG in C++ ???

Posted on 2003-11-29
2
701 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone 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

This article will show you some of the more useful Standard Template Library (STL) algorithms through the use of working examples.  You will learn about how these algorithms fit into the STL architecture, how they work with STL containers, and why t…
Introduction This article is a continuation of the C/C++ Visual Studio Express debugger series. Part 1 provided a quick start guide in using the debugger. Part 2 focused on additional topics in breakpoints. As your assignments become a little more …
The goal of the tutorial is to teach the user how to use functions in C++. The video will cover how to define functions, how to call functions and how to create functions prototypes. Microsoft Visual C++ 2010 Express will be used as a text editor an…
The goal of the video will be to teach the user the concept of local variables and scope. An example of a locally defined variable will be given as well as an explanation of what scope is in C++. The local variable and concept of scope will be relat…

751 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