Hi,
I'm using DNSQuery() but socket failures don't seem to affect the result
(FRCode).
Specifically, the last few lines of that function:
else //normal query
if WorkSock.LastError = 0 then
Result := DecodeResponse(FBuffer, Reply, QType);
If there was a failure to connect to the DNS server, then at this point
LastError will be non-zero (it was 10054 when I tested it just now), but
although in this case Result is left as FALSE to indicate a failure,
FRCode will be zero indicating success.
Should FRCode be set to 2 or 5 in this case? Or am I misunderstanding
the purpose of FRCode?
--
Mark Rogers // More Solutions Ltd (Peterborough Office) // 0845 45 89 555
Registered in England (0456 0902) at 13 Clarke Rd, Milton Keynes, MK1 1LG
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
synalist-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/synalist-public