Available on flash
@:value({ port : 0 })new(?host:String, port:Int = 0)
@:flash.propertyread onlyconnected:Bool
@:flash.property@:require(flash10)timeout:Int
close():Void
connect(host:String, port:Int):Void
send(object:Dynamic):Void
@:value({ useWeakReference : false, priority : 0, useCapture : false })addEventListener(type:String, listener:Dynamic ‑> Void, useCapture:Bool = false, priority:Int = 0, useWeakReference:Bool = false):Void
dispatchEvent(event:Event):Bool
hasEventListener(type:String):Bool
@:value({ useCapture : false })removeEventListener(type:String, listener:Dynamic ‑> Void, useCapture:Bool = false):Void
toString():String
willTrigger(type:String):Bool