Newsgroups : Borland : borland.public.delphi.internet.winsock : 2008 Mar : Connections of a TIdCcmTCPServer

www.cryer.info
Managed Newsgroup Archive

Connections of a TIdCcmTCPServer

Subject:Connections of a TIdCcmTCPServer
Posted by:"Moore" (moo..@hotmail.com)
Date:26 Mar 2008 02:50:29

what's wrong eith this code? it either blocks the app or sends an AV:

try
  for i := 0 to srvProxyTCP.Contexts.LockList.Count - 1 do
ListBox1.Items.Add(TIdTCPConnection(srvProxyTCP.Contexts.LockList.Items[i]).Socket.Binding.PeerIP);
  finally
   srvProxyTCP.Contexts.UnlockList;
  end;

Replies:

www.cryer.info
Managed Newsgroup Archive