[Home] [By Thread] [By Date] [Recent Entries]

  • From: Andreas Krueger <Andreas.Krueger@B...>
  • To: xml-dev@l...
  • 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





Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member