This is from Turkey's Reverse Connection example.
Procedure EnunConnections;(ListConnections)
var
i : integer;
begin
for i := 0 To ServerSocket1.Socket.ActiveConnections -1 do
begin ConnectionsListBox.Items.add(ServerSocket1.Socket. Connections[i].RemoteHost);
Since i'm using a ListView instead of a ListBox i'm getting an error at the last line "Too many actual parameters" So.. i understand that i have to redeclare the procedure using parameters to fix this problem, but i'm a little lost on that. How this procedure should look like ?


LinkBack URL
About LinkBacks
Reply With Quote
