Solved

How to implement DIG in C++ ???

Posted on 2003-11-29
2
686 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
Comment Utility
Following URL seems to have what you need :
http://www.codeguru.com/internet/DnsResolver.html
0
 
LVL 1

Author Comment

by:Snyke
Comment Utility
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

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

Suggested Solutions

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…
Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
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 pass data into a function in C++. This is one step further in using functions. Instead of only printing text onto the console, the function will be able to perform calculations with argumentents given by the user.

771 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now