Forum Moderators: open
This leads to several questions my first and most importantly being does the client have to request the information being sent to it with this object. Ideally for the least messages being sent from server to client and processing on the server you'd want the server to send out the text to all logged in every time it receives a new text string from any client.
So is it possible with this object to wait for a message from the server rather than request it (again I'm new to this and all the examples I've found have been requesting info from the server)? Because if it's not then this idea is just about dead because in order to get the true feel of being in a chat you'd have to constantly request information from the server which is not what I want.
The basic concept can be seen if you look up "XHTML chat XMLHttpRequest Object"
A very advanced and very cool chat (that suckfully is forprofit) can be found looking up "Chat - Treehouse City Guide".
If you find an open source version of the more advanced chat please by ALL means make me aware of it!