{ Appendix B }
The XMLSocket Object The XMLSocket object is a full-duplex network socket capable of communicating with a server specifically designed to serve XML content. The connection is a persistent one, unlike HTTP, allowing new levels of server-side interactivity that were previously not possible.
Methods and Properties of XMLSocket XMLSocket()—constructor XMLSocket.close()—close
the socket
XMLSocket.connect()—connect XMLSocket.onClose()—handle
to a server
the closing of a socket
XMLSocket.onConnect()—handle XMLSocket.onXML()—handle
the arrival of XML
XMLSocket.onData()—handle XMLSocket.send()—send
the connection of a socket
the arrival of data in general (delimited by \0)
information to the server