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. Should I use TCP or UDP and what is the difference when it comes to
getting an MX record? Is it best to just use TCP?

Basically, I just want to verify that there's an MX record for the domain of
an email address. Is there an easier way to do this?

Thanks for any help you can provide.

--
Albert Wiersch
AI Internet Solutions
[EMAIL PROTECTED]
http://www.htmlvalidator.com/


> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> On Behalf Of Albert Wiersch
> Sent: Tuesday, January 08, 2008 4:54 PM
> To: 'ICS support mailing'
> Subject: [twsocket] Getting DNS MX record
> 
> I'm trying to get/verify an MX record using TDnsQuery.
> 
> 1. How can I do this asynchronously? There doesn't appear to be an
> MXLookupASync() function.
> 2. How can I set the "Addr" property to the system's normal DNS?
> 3. Should I use TCP or UDP and what is the difference when it comes to
> getting an MX record?
> 
> Basically, I just want to verify that there's an MX record for the
> domain of
> an email address. Is there an easier way to do this?
> 
> Thanks for any help you can provide.
> 
> --
> Albert Wiersch
> AI Internet Solutions
> [EMAIL PROTECTED]
> http://www.htmlvalidator.com/
> 
> 
> 
> --
> To unsubscribe or change your settings for TWSocket mailing list
> please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
> Visit our website at http://www.overbyte.be

-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be

Reply via email to