Re: TCPServer.Active=false (Indy10)

Giganews Newsgroups
Subject: Re: TCPServer.Active=false (Indy10)
Posted by:  Chad Z. Hower aka Kudzu (cp…
Date: Fri, 26 Nov 2004

"Inter-biz" <in…> wrote in
>      for i:=TCPServer.Contexts.LockList.Count-1 downto 0 do
>      begin
>          Cont:=TIdContext(TCPServer.Contexts.LockList.Items[i]);
>          Cont.Connection.Disconnect;
>      end;
>      TCPServer.Contexts.Clear;
>      TCPServer.Contexts.UnLockList;

YOu are using LockList totally incorrect. You have to store teh result, uo
cant just call it over and over.


In response to

TCPServer.Active=false (Indy10) posted by Inter-biz on Wed, 24 Nov 2004