haXe API Documentation
Back | Index
class js.XMLSocket
Available in js
By compiling the haxe.remoting.SocketWrapper into a SWF, you can create and use XMLSockets directly from Javascript.
function new(flashObject : String) : Void
function close() : Void
function connect(host : String, port : Int) : Void
dynamic function onClose() : Void
dynamic function onConnect(b : Bool) : Void
dynamic function onData(data : String) : Void
function send(data : String) : Void
Back | Index