hi~
i am making the sending mail program
i succeeded sending a email via socket 25port
if anyone's mail address is xx*@yahoo.com,
i have to find the mailserver of yahoo.com
so i have to query to the dns server
on win2000 command prompt
i typed "nslookup -type=mx yahoo.com"
then i know a lot of mx records
how can i get the mx records in program via socket?
how can i querty to the dns server in program via socket?
anyone help me~~~
thanks...