tdnswinasync=class(tthread)\r
private\r
freverse : boolean;\r
- error : integer;\r
freewhendone : boolean;\r
hadevent : boolean;\r
protected\r
hostent : phostent;\r
addrlist:^pointer;\r
begin\r
+ output := nil;\r
if hints.ai_family <> af_inet6 then begin\r
result := 0;\r
\r
if assigned (dwas.onrequestdone) then dwas.onrequestdone(dwas,awparam);\r
dwas.hadevent := true;\r
if dwas.freewhendone then dwas.free;\r
+ result := 0; {added returning 0 when handling --beware}\r
end else begin\r
//not passing unknown messages on to defwindowproc will cause window\r
//creation to fail! --plugwash\r