Hello, I'm looking for a C code to fetch the MX servers from a domain.
I've already found one for UNIX, but even after serching hardly the net I couldn't find a windows code.
The UNIX code is here: http://www.opensource.apple.com/darw...chmail/mxget.c
For the unstarted people, to query a domain for MX servers one can type this command in Windows XP:
nslookup -querytype=mx domain.com
Also, is there any program to convert a UNIX code to a Windows one?