Solved

Indy TCP Server help

Posted on 2004-09-03
2
489 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

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Delphi XE10, MySQL Query 4 143
how to center only a line in richedit? 4 57
Press three keys together and trigger a function 3 56
Tvertscrollbox like a whatsapp layout 5 27
Introduction The parallel port is a very commonly known port, it was widely used to connect a printer to the PC, if you look at the back of your computer, for those who don't have newer computers, there will be a port with 25 pins and a small print…
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…
Along with being a a promotional video for my three-day Annielytics Dashboard Seminor, this Micro Tutorial is an intro to Google Analytics API data.
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…

770 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