By compiling the haxe.remoting.SocketWrapper into a SWF, you can create and use XMLSockets directly from Javascript.

Constructor

new (flashObject:String)

Methods

connect (host:String, port:Int):Void

dynamiconClose ():Void

dynamiconConnect (b:Bool):Void

dynamiconData (data:String):Void