Solved

Indy TCP Server help

Posted on 2004-09-03
2
496 Views
Last Modified: 2010-04-05
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
0
Comment
Question by:MelchaS
2 Comments
 
LVL 4

Accepted Solution

by:
ceoworks earned 50 total points
ID: 11976461
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
 

Author Comment

by:MelchaS
ID: 11979120
Thanks ceoworks!
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article explains how to create forms/units independent of other forms/units object names in a delphi project. Have you ever created a form for user input in a Delphi project and then had the need to have that same form in a other Delphi proj…
Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

808 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question