bool TestExtNetwork::test_dns_get_mx() { Variant hosts; VERIFY(f_dns_get_mx("facebook.com", ref(hosts))); VERIFY(!hosts.toArray().empty()); return Count(true); }
bool f_getmxrr(CStrRef hostname, VRefParam mxhosts, VRefParam weight /* = uninit_null() */) { return f_dns_get_mx(hostname, ref(mxhosts), weight); }