WebEvent

  • Thread starter Thread starter Rodrigo Ferreira
  • Start date Start date
R

Rodrigo Ferreira

What is the best way to creat a instant chatting program like msn? I mean,
the part of detecting that a user has send a message to you.
Thanks!
 
Rodrigo,

Well, there are two ways of going about it. If you have a persistant
connection to the client, then the server can send a notification to the
client, and the client can respond.

If not, then the client will have the poll the server at a set interval,
letting the server know through some mechanism what the last message it got
was. Then, the server will respond with the messages that the client needs
to be updated with.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top