Solved

Indy and delphi xe5

Posted on 2014-10-03
2
435 Views
Last Modified: 2014-10-08
iam alomst done with my project its live chat project  i want to disable a buttons for all connected clients if other client clicked on it

To be more specif i have stream button if a client clicked on this buttons it will become enabled false to other connected clients until he clicks other button ..

i think its somthing i have to do with indy but how to implement this ?
0
Comment
Question by:drama22
2 Comments
 
LVL 26

Accepted Solution

by:
Sinisa Vuk earned 500 total points
ID: 40362496
maybe this way... when two clients are connected/busy ... set a flag for those two in server, and other clients can periodically check for all client status (let say each 15 sec.)
0
 

Author Comment

by:drama22
ID: 40362703
Any code example iam so stupid to understand without codes , and I have to be more specific I want to make the stream button disabled if some client is streaming audio idea example ,

If Client clicked to send stream then other clients cant click to send stream the button of stream become disabled  else stream button enabled ... in single client can be done with boolean variable but in multiple clients its hard for me to figure it without codes.
0

Featured Post

Back Up Your Microsoft Windows Server®

Back up all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Eclipse Neon and jdk 1.8.0 11 204
Multiple image collision 13 75
creating threads in delphi 1 109
Tvertscrollbox like a whatsapp layout 5 28
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…
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.
The viewer will learn how to synchronize PHP projects with a remote server in NetBeans IDE 8.0 for Windows.

823 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