Newsgroups : Borland : borland.public.delphi.internet.winsock : 2007 Oct : where is tidlist in latest indy10 snapshot?

www.cryer.info
Managed Newsgroup Archive

where is tidlist in latest indy10 snapshot?

Subject:where is tidlist in latest indy10 snapshot?
Posted by:"API" (ari.pikivir..@kolumbus.fi)
Date:Fri, 5 Oct 2007 19:16:09

hi all,

on the latest snapshot, where is the tidlist while
there is no IdObjs unit anymore?

- - - - - -

var
   list: tidlist;
   context: tidcontext;
begin
   // disconnect if found
   List:= idftpserver1.contexts.locklist;
   try
     for p:=0 to list.count do
     begin
       context:= tidcontext(list[p]);
       with context.connection.socket.binding do
         if (PeerIP = ip) then // and (PeerPort = port) then
         begin
           context.connection.disconnect;
           break;
         end;
     end;
   finally
     idftpserver1.contexts.UnlockList;
   end;

Replies:

www.cryer.info
Managed Newsgroup Archive