Connections of a TIdCcmTCPServer

Giganews Newsgroups
Subject: Connections of a TIdCcmTCPServer
Posted by:  Moore (moo…@hotmail.com)
Date: 26 Mar 2008

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