work in progress - implementing the dns cookie support in mio_svc_dnc_resolve()

This commit is contained in:
2020-07-01 15:54:23 +00:00
parent 970deb9966
commit fe478e954d
4 changed files with 48 additions and 5 deletions

View File

@ -1281,7 +1281,7 @@ if (!mio_svc_dnc_resolve(dnc, "b.wild.com", MIO_DNS_RRT_A, MIO_SVC_DNC_RESOLVE_F
printf ("resolve attempt failure ---> a.wild.com\n");
}
if (!mio_svc_dnc_resolve(dnc, "www.microsoft.com", MIO_DNS_RRT_CNAME, 0, on_dnc_resolve, 0))
if (!mio_svc_dnc_resolve(dnc, "www.microsoft.com", MIO_DNS_RRT_CNAME, MIO_SVC_DNC_RESOLVE_FLAG_COOKIE, on_dnc_resolve, 0))
{
printf ("resolve attempt failure ---> www.microsoft.com\n");
}