Hi.
I'm trying to make application that could get information about 
hosts simultanously for lets say... 10 hosts... I made something 
like this:

-----

var newsocket:TDnsQuery;
    domain:string;

begin
  newsocket:=TDNSQuery.Create(self);
  newsocket.Addr:='195.117.102.3';
  newsocket.Proto:='tcp';
  newsocket.Port:='53';
  newsocket.OnRequestDone:=DnsQuery1RequestDone;
  readln(plik,domain);
  newsocket.ALookup(domain);
 end;

end;

------

But when im putting in RequestDone:
TDNSQuery(sender).Destroy; access violation occures. Why is that?

Thank you for your help!
Ann.



-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://www.elists.org/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be

Reply via email to