Available on flash
@:value({ port : 0 })new(?host:String, port:Int = 0)
@:flash.propertyread onlybytesAvailable:UInt
@:flash.property@:require(flash11)read onlybytesPending:UInt
@:flash.propertyread onlyconnected:Bool
@:flash.propertyendian:Endian
@:flash.propertyobjectEncoding:UInt
@:flash.property@:require(flash10)timeout:UInt
close():Void
connect(host:String, port:Int):Void
flush():Void
readBoolean():Bool
readByte():Int
@:value({ length : 0, offset : 0 })readBytes(bytes:ByteArray, offset:UInt = 0, length:UInt = 0):Void
readDouble():Float
readFloat():Float
readInt():Int
readMultiByte(length:UInt, charSet:String):String
readObject():Dynamic
readShort():Int
readUTF():String
readUTFBytes(length:UInt):String
readUnsignedByte():UInt
readUnsignedInt():UInt
readUnsignedShort():UInt
writeBoolean(value:Bool):Void
writeByte(value:Int):Void
@:value({ length : 0, offset : 0 })writeBytes(bytes:ByteArray, offset:UInt = 0, length:UInt = 0):Void
writeDouble(value:Float):Void
writeFloat(value:Float):Void
writeInt(value:Int):Void
writeMultiByte(value:String, charSet:String):Void
writeObject(object:Dynamic):Void
writeShort(value:Int):Void
writeUTF(value:String):Void
writeUTFBytes(value:String):Void
writeUnsignedInt(value:UInt):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