[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
XML in Flash5; server demon for synchroneous communication
- From: Andreas Krueger <Andreas.Krueger@Bigfoot.de>
- To: xml-dev@lists.xml.org
- Date: Mon, 13 Aug 2001 13:42:07 +0200
Hello,
Flash5 gives support for synchroneous communication with a server-demon on
port >1024.
It uses XML.
We would like to implement a chat-like application and are looking for
related information - example projects, code-sources, introductory manuals.
socket = new XMLSocket()
socket.onConnect = myOnConnect
socket.connect(null, 2000)
socket.onXML = myOnXML;
function myOnXML(doc) {
var e = doc.firstChild;
if (e != null && e.nodeName == "MESSAGE") {
displayMessage(e.attributes.user, e.attributes.text);
}
...
Then to decipher the XML-object, we need a parser. Any Flash5-ActionScript
parsers talked about recently?
Moreover, I have never written a server demon that listens to a certain port
and starts to send data when asked. Any hints where to start?
Freeware-libraries? Server-OS independent programming?
Thanks a lot in advance,
Andreas