I have a listbox with all the clients connected to the IdTCPServer. When i right click on some item os this listbox there is a command Kick. When clicked, this command sends a message to the server so it can disconnect the certain client. The problem is that i dont know how to make the server diconnect a client just by knowing its name...
I thought of AThread.Connection.Components[i].Destroy; but i guess it's wrong =\
How can i do this?