These are chat archives for IndySockets/Indy

10th
Jan 2019
mezen
@mezen
Jan 10 07:24
When should I use GBSDStack? TIdStack.IncUsage() only fills GStack. GBSDStack seems more like GWindowsStack, TIdStackBSDBase.Create stores Self into it, but I find no consuming (or cleanup).
So, the correct usage should be this way?
  TIdStack.IncUsage();
  try
    ShowMessage(GStack.HostByAddress('192.168.0.1'));
  finally
    TIdStack.DecUsage();
  end;