package flash.net
extends EventDispatcher
implements IDataInput, IDataOutput
extended by SecureSocket
Available on flash
new(?host:String, port:Int = 0)read onlybytesAvailable:UIntread onlybytesPending:UIntread onlyconnected:Boolendian:EndianobjectEncoding:UInttimeout:UIntclose():Voidconnect(host:String, port:Int):Voidflush():VoidreadBoolean():BoolreadByte():IntreadBytes(bytes:ByteArray, offset:UInt = 0, length:UInt = 0):VoidreadDouble():FloatreadFloat():FloatreadInt():IntreadMultiByte(length:UInt, charSet:String):StringreadObject():DynamicreadShort():IntreadUTF():StringreadUTFBytes(length:UInt):StringreadUnsignedByte():UIntreadUnsignedInt():UIntreadUnsignedShort():UIntwriteBoolean(value:Bool):VoidwriteByte(value:Int):VoidwriteBytes(bytes:ByteArray, offset:UInt = 0, length:UInt = 0):VoidwriteDouble(value:Float):VoidwriteFloat(value:Float):VoidwriteInt(value:Int):VoidwriteMultiByte(value:String, charSet:String):VoidwriteObject(object:Dynamic):VoidwriteShort(value:Int):VoidwriteUTF(value:String):VoidwriteUTFBytes(value:String):VoidwriteUnsignedInt(value:UInt):Void
© 2005–2020 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/flash/net/Socket.html