Solved

Indy and delphi xe5

Posted on 2014-10-03
2
445 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

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

The uses clause is one of those things that just tends to grow and grow. Most of the time this is in the main form, as it's from this form that all others are called. If you have a big application (including many forms), the uses clause in the in…
How to install Selenium IDE and loops for quick automated testing. Get Selenium IDE from http://seleniumhq.org Go to that link and select download selenium in the right hand columnThat will then direct you to their download page.From that page s…
THe viewer will learn how to use NetBeans IDE 8.0 for Windows to perform CRUD operations on a MySql database.
The viewer will learn how to synchronize PHP projects with a remote server in NetBeans IDE 8.0 for Windows.

820 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