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
MelchaSAsked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
ceoworksConnect With a Mentor Commented:
Hi Melcha,

Please take a look at the accepted answer http://www.experts-exchange.com/Programming/Programming_Languages/Delphi/Q_21061789.html

Regards,

Oktay Sancak
0
 
MelchaSAuthor Commented:
Thanks ceoworks!
0
All Courses

From novice to tech pro — start learning today.