I need to write a app that broadcasts messages to everyone with this app running, e.g.
When the user logs on to the domain, an app is launched and sits in the tray. They can then right-click and click 'broadcast message'. They then type in a message then click send. This message will then pop up a message to all computers running this app.
My idea is to have the app use a timer which checks a MySQL database every 60 seconds. If the message is set to 'ON' in the database, when the timer checks it will then pop up a message that the last user has set. I have used this for a small application which supported about 10 users, however this may not suffice for concurrent use of 40 to 50 users, which is roughly how many users will be using this in my case.
A client-server approach may be a better option, but I am still not sure how to approach this.
Any ideas or pointers?
Thanks in advance,
Adam
------------------------------------
There's no place like 127.0.0.1
------------------------------------
When the user logs on to the domain, an app is launched and sits in the tray. They can then right-click and click 'broadcast message'. They then type in a message then click send. This message will then pop up a message to all computers running this app.
My idea is to have the app use a timer which checks a MySQL database every 60 seconds. If the message is set to 'ON' in the database, when the timer checks it will then pop up a message that the last user has set. I have used this for a small application which supported about 10 users, however this may not suffice for concurrent use of 40 to 50 users, which is roughly how many users will be using this in my case.
A client-server approach may be a better option, but I am still not sure how to approach this.
Any ideas or pointers?
Thanks in advance,
Adam
------------------------------------
There's no place like 127.0.0.1
------------------------------------