Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

How to implement DIG in C++ ???

Posted on 2003-11-29
2
Medium Priority
?
709 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 250 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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Introduction This article is the first in a series of articles about the C/C++ Visual Studio Express debugger.  It provides a quick start guide in using the debugger. Part 2 focuses on additional topics in breakpoints.  Lastly, Part 3 focuses on th…
Basic understanding on "OO- Object Orientation" is needed for designing a logical solution to solve a problem. Basic OOAD is a prerequisite for a coder to ensure that they follow the basic design of OO. This would help developers to understand the b…
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…
Suggested Courses

722 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