Link to home
Start Free TrialLog in
Avatar of MelchaS
MelchaS

asked on

Indy TCP Server help

Hi,

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.

Thanks,
- MelchaS
ASKER CERTIFIED SOLUTION
Avatar of ceoworks
ceoworks

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of MelchaS
MelchaS

ASKER

Thanks ceoworks!