Hello Maxim,

>>>The reason I ask is because in the URL you provided I read that "The
>>>getnameinfo function was added to the Ws2_32.dll on Windows XP and
>>>later." and, if you use(d) exactly the same call in 3.85.03, then I
>>>don't understand what is happening. Let me explain.
>
> If getnameinfo is not available (also for previous versions of The Bat!) we 
> were using
>
>  
> DnsQuery("NN.NN.NN.NN.in-addr.arpa",DNS_TYPE_PTR,DNS_QUERY_NO_LOCAL_NAME,.....)
>  from dnsapi.dll
>
> but we had complains that the results of DnsQuery were not resolvable in the 
> server's side.

Although I was in software development for over 25 years, I haven't
written a single line of code in the last 15 and OK, I'm beginning to
get lost with all of this ;)

I can understand that you now use getnameinfo and the way of using it.
What I don't really understand is why if you get an error you don't use
the RDN of the machine instead of the IP. That's all, but it is not that
important anyway.

Thanks :)

-- 
Best regards,

Miguel A. Urech (El Escorial - Spain)
Using The Bat! v3.86.11 beta on Windows XP 5.1 Service Pack 2



________________________________________________________
 Current beta is 3.86.11 | 'Using TBBETA' information:
http://www.silverstones.com/thebat/TBUDLInfo.html
IMPORTANT: To register as a Beta tester, use this link first -
http://www.ritlabs.com/en/partners/testers/

Reply via email to