Indy TCP Server help
Posted on 2004-09-03
I'm try to use the Indy TCP Server component to send a command to a client when the user presses a button, but I can't find any procedure or function that does this. The server only allows one connection, if that helps in any way. I can send and read data just fine in the server's OnConnect procedure, with AThread.Connection.sendcmd();, but I can't do the same in a button's/panel's onclick event. Help is appreciated.