Static variables

staticread onlyOSSupportsIPv6:Bool

staticread onlySupportsIPv4:Bool

staticread onlySupportsIPv6:Bool

Static methods

@:overloadstaticfinalSelect(checkRead:IList, checkWrite:IList, checkError:IList, microSeconds:Int):Void

Constructor

@:overloadfinalnew(socketInformation:SocketInformation)

@:overloadfinalnew(family:AddressFamily, type:SocketType, proto:ProtocolType)

Variables

Methods

@:overloadfinalAccept():Socket

@:overloadfinalBeginAccept(callback:AsyncCallback, state:Dynamic):IAsyncResult

@:overloadfinalBeginAccept(acceptSocket:Socket, receiveSize:Int, callback:AsyncCallback, state:Dynamic):IAsyncResult

@:overloadfinalBeginAccept(receiveSize:Int, callback:AsyncCallback, state:Dynamic):IAsyncResult

@:overloadfinalBeginConnect(address:IPAddress, port:Int, callback:AsyncCallback, state:Dynamic):IAsyncResult

@:overloadfinalBeginConnect(addresses:NativeArray<IPAddress>, port:Int, callback:AsyncCallback, state:Dynamic):IAsyncResult

@:overloadfinalBeginConnect(end_point:EndPoint, callback:AsyncCallback, state:Dynamic):IAsyncResult

@:overloadfinalBeginConnect(host:String, port:Int, callback:AsyncCallback, state:Dynamic):IAsyncResult

@:overloadfinalBeginDisconnect(reuseSocket:Bool, callback:AsyncCallback, state:Dynamic):IAsyncResult

@:overloadfinalBeginReceive(buffer:NativeArray<UInt8>, offset:Int, size:Int, socket_flags:SocketFlags, callback:AsyncCallback, state:Dynamic):IAsyncResult

@:overloadfinalBeginReceive(buffers:IList_1<ArraySegment_1<UInt8>>, socketFlags:SocketFlags, errorCode:Out<SocketError>, callback:AsyncCallback, state:Dynamic):IAsyncResult

@:overloadfinalBeginReceive(buffers:IList_1<ArraySegment_1<UInt8>>, socketFlags:SocketFlags, callback:AsyncCallback, state:Dynamic):IAsyncResult

@:overloadfinalBeginReceive(buffer:NativeArray<UInt8>, offset:Int, size:Int, flags:SocketFlags, error:Out<SocketError>, callback:AsyncCallback, state:Dynamic):IAsyncResult

@:overloadfinalBeginReceiveFrom(buffer:NativeArray<UInt8>, offset:Int, size:Int, socket_flags:SocketFlags, remote_end:Ref<EndPoint>, callback:AsyncCallback, state:Dynamic):IAsyncResult

@:overloadfinalBeginReceiveMessageFrom(buffer:NativeArray<UInt8>, offset:Int, size:Int, socketFlags:SocketFlags, remoteEP:Ref<EndPoint>, callback:AsyncCallback, state:Dynamic):IAsyncResult

@:overloadfinalBeginSend(buffer:NativeArray<UInt8>, offset:Int, size:Int, socket_flags:SocketFlags, callback:AsyncCallback, state:Dynamic):IAsyncResult

@:overloadfinalBeginSend(buffers:IList_1<ArraySegment_1<UInt8>>, socketFlags:SocketFlags, errorCode:Out<SocketError>, callback:AsyncCallback, state:Dynamic):IAsyncResult

@:overloadfinalBeginSend(buffers:IList_1<ArraySegment_1<UInt8>>, socketFlags:SocketFlags, callback:AsyncCallback, state:Dynamic):IAsyncResult

@:overloadfinalBeginSend(buffer:NativeArray<UInt8>, offset:Int, size:Int, socketFlags:SocketFlags, errorCode:Out<SocketError>, callback:AsyncCallback, state:Dynamic):IAsyncResult

@:overloadfinalBeginSendFile(fileName:String, callback:AsyncCallback, state:Dynamic):IAsyncResult

@:overloadfinalBeginSendFile(fileName:String, preBuffer:NativeArray<UInt8>, postBuffer:NativeArray<UInt8>, flags:TransmitFileOptions, callback:AsyncCallback, state:Dynamic):IAsyncResult

@:overloadfinalBeginSendTo(buffer:NativeArray<UInt8>, offset:Int, size:Int, socket_flags:SocketFlags, remote_end:EndPoint, callback:AsyncCallback, state:Dynamic):IAsyncResult

@:overloadfinalBind(local_end:EndPoint):Void

@:overloadfinalClose():Void

@:overloadfinalClose(timeout:Int):Void

@:overloadfinalConnect(address:IPAddress, port:Int):Void

@:overloadfinalConnect(remoteEP:EndPoint):Void

@:overloadfinalConnect(host:String, port:Int):Void

@:overloadfinalConnect(addresses:NativeArray<IPAddress>, port:Int):Void

@:overloadfinalDisconnect(reuseSocket:Bool):Void

@:overloadfinalDuplicateAndClose(targetProcessId:Int):SocketInformation

@:overloadfinalEndAccept(result:IAsyncResult):Socket

@:overloadfinalEndAccept(buffer:Out<NativeArray<UInt8>>, bytesTransferred:Out<Int>, asyncResult:IAsyncResult):Socket

@:overloadfinalEndAccept(buffer:Out<NativeArray<UInt8>>, asyncResult:IAsyncResult):Socket

@:overloadfinalEndConnect(result:IAsyncResult):Void

@:overloadfinalEndDisconnect(asyncResult:IAsyncResult):Void

@:overloadfinalEndReceive(result:IAsyncResult):Int

@:overloadfinalEndReceive(asyncResult:IAsyncResult, errorCode:Out<SocketError>):Int

@:overloadfinalEndReceiveFrom(result:IAsyncResult, end_point:Ref<EndPoint>):Int

@:overloadfinalEndReceiveMessageFrom(asyncResult:IAsyncResult, socketFlags:Ref<SocketFlags>, endPoint:Ref<EndPoint>, ipPacketInformation:Out<IPPacketInformation>):Int

@:overloadfinalEndSend(result:IAsyncResult):Int

@:overloadfinalEndSend(asyncResult:IAsyncResult, errorCode:Out<SocketError>):Int

@:overloadfinalEndSendFile(asyncResult:IAsyncResult):Void

@:overloadfinalEndSendTo(result:IAsyncResult):Int

@:overloadfinalGetSocketOption(optionLevel:SocketOptionLevel, optionName:SocketOptionName, optionValue:NativeArray<UInt8>):Void

@:overloadfinalGetSocketOption(optionLevel:SocketOptionLevel, optionName:SocketOptionName):Dynamic

@:overloadfinalGetSocketOption(optionLevel:SocketOptionLevel, optionName:SocketOptionName, length:Int):NativeArray<UInt8>

@:overloadfinalIOControl(ioctl_code:Int, in_value:NativeArray<UInt8>, out_value:NativeArray<UInt8>):Int

@:overloadfinalIOControl(ioControlCode:IOControlCode, optionInValue:NativeArray<UInt8>, optionOutValue:NativeArray<UInt8>):Int

@:overloadfinalListen(backlog:Int):Void

@:overloadfinalPoll(time_us:Int, mode:SelectMode):Bool

@:overloadfinalReceive(buffer:NativeArray<UInt8>):Int

@:overloadfinalReceive(buffers:IList_1<ArraySegment_1<UInt8>>, socketFlags:SocketFlags, errorCode:Out<SocketError>):Int

@:overloadfinalReceive(buffers:IList_1<ArraySegment_1<UInt8>>, socketFlags:SocketFlags):Int

@:overloadfinalReceive(buffers:IList_1<ArraySegment_1<UInt8>>):Int

@:overloadfinalReceive(buffer:NativeArray<UInt8>, offset:Int, size:Int, flags:SocketFlags, error:Out<SocketError>):Int

@:overloadfinalReceive(buffer:NativeArray<UInt8>, offset:Int, size:Int, flags:SocketFlags):Int

@:overloadfinalReceive(buffer:NativeArray<UInt8>, size:Int, flags:SocketFlags):Int

@:overloadfinalReceive(buffer:NativeArray<UInt8>, flags:SocketFlags):Int

@:overloadfinalReceiveFrom(buffer:NativeArray<UInt8>, remoteEP:Ref<EndPoint>):Int

@:overloadfinalReceiveFrom(buffer:NativeArray<UInt8>, offset:Int, size:Int, flags:SocketFlags, remoteEP:Ref<EndPoint>):Int

@:overloadfinalReceiveFrom(buffer:NativeArray<UInt8>, size:Int, flags:SocketFlags, remoteEP:Ref<EndPoint>):Int

@:overloadfinalReceiveFrom(buffer:NativeArray<UInt8>, flags:SocketFlags, remoteEP:Ref<EndPoint>):Int

@:overloadfinalReceiveMessageFrom(buffer:NativeArray<UInt8>, offset:Int, size:Int, socketFlags:Ref<SocketFlags>, remoteEP:Ref<EndPoint>, ipPacketInformation:Out<IPPacketInformation>):Int

@:overloadfinalSend(buf:NativeArray<UInt8>):Int

@:overloadfinalSend(buffers:IList_1<ArraySegment_1<UInt8>>, socketFlags:SocketFlags, errorCode:Out<SocketError>):Int

@:overloadfinalSend(buffers:IList_1<ArraySegment_1<UInt8>>, socketFlags:SocketFlags):Int

@:overloadfinalSend(buffers:IList_1<ArraySegment_1<UInt8>>):Int

@:overloadfinalSend(buf:NativeArray<UInt8>, offset:Int, size:Int, flags:SocketFlags, error:Out<SocketError>):Int

@:overloadfinalSend(buf:NativeArray<UInt8>, offset:Int, size:Int, flags:SocketFlags):Int

@:overloadfinalSend(buf:NativeArray<UInt8>, size:Int, flags:SocketFlags):Int

@:overloadfinalSend(buf:NativeArray<UInt8>, flags:SocketFlags):Int

@:overloadfinalSendFile(fileName:String):Void

@:overloadfinalSendFile(fileName:String, preBuffer:NativeArray<UInt8>, postBuffer:NativeArray<UInt8>, flags:TransmitFileOptions):Void

@:overloadfinalSendTo(buffer:NativeArray<UInt8>, remote_end:EndPoint):Int

@:overloadfinalSendTo(buffer:NativeArray<UInt8>, offset:Int, size:Int, flags:SocketFlags, remote_end:EndPoint):Int

@:overloadfinalSendTo(buffer:NativeArray<UInt8>, size:Int, flags:SocketFlags, remote_end:EndPoint):Int

@:overloadfinalSendTo(buffer:NativeArray<UInt8>, flags:SocketFlags, remote_end:EndPoint):Int

@:overloadfinalSetSocketOption(optionLevel:SocketOptionLevel, optionName:SocketOptionName, optionValue:NativeArray<UInt8>):Void

@:overloadfinalSetSocketOption(optionLevel:SocketOptionLevel, optionName:SocketOptionName, optionValue:Int):Void

@:overloadfinalSetSocketOption(optionLevel:SocketOptionLevel, optionName:SocketOptionName, optionValue:Bool):Void

@:overloadfinalSetSocketOption(optionLevel:SocketOptionLevel, optionName:SocketOptionName, optionValue:Dynamic):Void

@:overloadfinalShutdown(how:SocketShutdown):Void