I'm looking for a solution for something I've been interested in for quite some time. I'd like to build an application that allows users to communicate with each other in real-time, like an instant messaging application. I learned how I can create an application that will respond to a request sent on a specific port from another application, but I didn't try this over the internet.
I'm thinking push technology, where I make a change on my side and anyone else using the program will see those changes at the speed of internet, i.e. without having to actually look for the update. I know it's possible, Live Messenger, Skype, and any other instant messaging program can do it.
I can't exactly explain what I intend to do with this because it's not fully fleshed out yet, but it will have a purpose. Basically I want to create an always-on application that I can send messages to, like a notification of an update, and have it show up "instantly" on the client's screen.
On a side note, I know I could simply have the program check for any changes at a high interv al, like once a second, but that might not always work if it takes longer for the request to take place than the defined interval, plus it generates a lot of overhead. Instead of the client asking the master for an update, the master will tell the client that an update is available as soon as it becomes so.
Is this possible, and am I making sense?
I'm thinking push technology, where I make a change on my side and anyone else using the program will see those changes at the speed of internet, i.e. without having to actually look for the update. I know it's possible, Live Messenger, Skype, and any other instant messaging program can do it.
I can't exactly explain what I intend to do with this because it's not fully fleshed out yet, but it will have a purpose. Basically I want to create an always-on application that I can send messages to, like a notification of an update, and have it show up "instantly" on the client's screen.
On a side note, I know I could simply have the program check for any changes at a high interv al, like once a second, but that might not always work if it takes longer for the request to take place than the defined interval, plus it generates a lot of overhead. Instead of the client asking the master for an update, the master will tell the client that an update is available as soon as it becomes so.
Is this possible, and am I making sense?
Comment