Flash Lite 2.x and 3.0 ActionScript Language Reference

XMLSocket constructor

public XMLSocket()

Creates a new XMLSocket object. The XMLSocket object is not initially connected to any server. You must call the XMLSocket.connect() method to connect the object to a server.

Example

The following example creates an XMLSocket object:

var socket:XMLSocket = new XMLSocket();