Message board for the users of flat assembler.
> Windows > windows DNS bug ,absolutely
line 82:after the execution, dontCare should point to IPv4 data structure
according to MSDN:
but actually, it points to a DNS_RECORD !
see code , it extracts IPv4 address from that DNS_RECORD,
but according to msdn, see attachment,
we should use
to get the IPv4 address which is incorrect!
put here to let others know about this bug,
avoid future confusing.
and if you have another better idea of resolve an URL to an IP address,
please tell me,
I'm writing a HTTP lib,
and I found winHTTP is fucking useless,
so I'm writing it using Socket,
which the first problem is to resolve an URL to an IP address.
|18 Feb 2012, 11:09||
MSDN has bugs too.
|18 Feb 2012, 12:39||
< Last Thread | Next Thread >
Copyright © 1999-2020, Tomasz Grysztar.
Powered by rwasa.