Re: [twsocket] Getting DNS MX record

2008-01-09 Thread Albert Wiersch
I discovered DnsQuery() in Windows 2000+. It looks like this will meet my needs much better than TDnsQuery. -- Albert Wiersch AI Internet Solutions [EMAIL PROTECTED] http://www.htmlvalidator.com/ > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > On Behalf Of Alb

Re: [twsocket] Getting DNS MX record

2008-01-09 Thread Albert Wiersch
Oops.. I meant synchronously. It seems TDnsQuery is asynchronous only. I'm trying to get/verify an MX record using TDnsQuery. 1. How can I do this synchronously? There doesn't appear to be a special function to do this. 2. How can I set the "Addr" property to the system's normal DNS? 3. Shou