public override void Run()
{
try
{
//Ans = new [] { NbtAddress.GetByName(Host, Type, Scope, Svr) };
Ans = NbtAddress.GetAllByName(Host, Type, Scope, Svr);
}
catch (UnknownHostException uhe)
{
this.Uhe = uhe;
}
catch (Exception ex)
{
Uhe = new UnknownHostException(ex.Message);
}
finally
{
lock (Sem)
{
Sem.Count--;
Runtime.Notify(Sem);
}
}
}
}