package cs.system.net.sockets
implements IDisposable
Available on csnew (socketInformation:SocketInformation)new (family:AddressFamily, type:SocketType, proto:ProtocolType)read only AddressFamily:AddressFamilyread only Available:IntBlocking:Boolread only Connected:BoolDontFragment:BoolEnableBroadcast:BoolExclusiveAddressUse:Boolread only Handle:IntPtrread only IsBound:BoolLingerState:LingerOptionread only LocalEndPoint:EndPointMulticastLoopback:BoolNoDelay:Boolread only ProtocolType:ProtocolTypeReceiveBufferSize:IntReceiveTimeout:Intread only RemoteEndPoint:EndPointSendBufferSize:IntSendTimeout:Intread only SocketType:SocketTypeTtl:Int16UseOnlyOverlappedIO:BoolAccept ():SocketAcceptAsync (e:SocketAsyncEventArgs):BoolBeginAccept (callback:AsyncCallback, state:Dynamic):IAsyncResultBeginAccept (acceptSocket:Socket, receiveSize:Int, callback:AsyncCallback, state:Dynamic):IAsyncResultBeginAccept (receiveSize:Int, callback:AsyncCallback, state:Dynamic):IAsyncResultBeginConnect (address:IPAddress, port:Int, callback:AsyncCallback, state:Dynamic):IAsyncResultBeginConnect (addresses:NativeArray<IPAddress>, port:Int, callback:AsyncCallback, state:Dynamic):IAsyncResultBeginConnect (end_point:EndPoint, callback:AsyncCallback, state:Dynamic):IAsyncResultBeginConnect (host:String, port:Int, callback:AsyncCallback, state:Dynamic):IAsyncResultBeginDisconnect (reuseSocket:Bool, callback:AsyncCallback, state:Dynamic):IAsyncResultBeginReceive (buffer:NativeArray<UInt8>, offset:Int, size:Int, socket_flags:SocketFlags, callback:AsyncCallback, state:Dynamic):IAsyncResultBeginReceive (buffers:IList_1<ArraySegment_1<UInt8>>, socketFlags:SocketFlags, errorCode:Out<SocketError>, callback:AsyncCallback, state:Dynamic):IAsyncResultBeginReceive (buffers:IList_1<ArraySegment_1<UInt8>>, socketFlags:SocketFlags, callback:AsyncCallback, state:Dynamic):IAsyncResultBeginReceive (buffer:NativeArray<UInt8>, offset:Int, size:Int, flags:SocketFlags, error:Out<SocketError>, callback:AsyncCallback, state:Dynamic):IAsyncResultBeginReceiveFrom (buffer:NativeArray<UInt8>, offset:Int, size:Int, socket_flags:SocketFlags, remote_end:Ref<EndPoint>, callback:AsyncCallback, state:Dynamic):IAsyncResultBeginReceiveMessageFrom (buffer:NativeArray<UInt8>, offset:Int, size:Int, socketFlags:SocketFlags, remoteEP:Ref<EndPoint>, callback:AsyncCallback, state:Dynamic):IAsyncResultBeginSend (buffer:NativeArray<UInt8>, offset:Int, size:Int, socket_flags:SocketFlags, callback:AsyncCallback, state:Dynamic):IAsyncResultBeginSend (buffers:IList_1<ArraySegment_1<UInt8>>, socketFlags:SocketFlags, errorCode:Out<SocketError>, callback:AsyncCallback, state:Dynamic):IAsyncResultBeginSend (buffers:IList_1<ArraySegment_1<UInt8>>, socketFlags:SocketFlags, callback:AsyncCallback, state:Dynamic):IAsyncResultBeginSend (buffer:NativeArray<UInt8>, offset:Int, size:Int, socketFlags:SocketFlags, errorCode:Out<SocketError>, callback:AsyncCallback, state:Dynamic):IAsyncResultBeginSendFile (fileName:String, callback:AsyncCallback, state:Dynamic):IAsyncResultBeginSendFile (fileName:String, preBuffer:NativeArray<UInt8>, postBuffer:NativeArray<UInt8>, flags:TransmitFileOptions, callback:AsyncCallback, state:Dynamic):IAsyncResultBeginSendTo (buffer:NativeArray<UInt8>, offset:Int, size:Int, socket_flags:SocketFlags, remote_end:EndPoint, callback:AsyncCallback, state:Dynamic):IAsyncResultBind (local_end:EndPoint):VoidClose ():VoidClose (timeout:Int):VoidConnect (address:IPAddress, port:Int):VoidConnect (remoteEP:EndPoint):VoidConnect (host:String, port:Int):VoidConnect (addresses:NativeArray<IPAddress>, port:Int):VoidConnectAsync (e:SocketAsyncEventArgs):BoolDisconnect (reuseSocket:Bool):VoidDisconnectAsync (e:SocketAsyncEventArgs):BoolDuplicateAndClose (targetProcessId:Int):SocketInformationEndAccept (result:IAsyncResult):SocketEndAccept (buffer:Out<NativeArray<UInt8>>, bytesTransferred:Out<Int>, asyncResult:IAsyncResult):SocketEndAccept (buffer:Out<NativeArray<UInt8>>, asyncResult:IAsyncResult):SocketEndConnect (result:IAsyncResult):VoidEndDisconnect (asyncResult:IAsyncResult):VoidEndReceive (result:IAsyncResult):IntEndReceive (asyncResult:IAsyncResult, errorCode:Out<SocketError>):IntEndReceiveFrom (result:IAsyncResult, end_point:Ref<EndPoint>):IntEndReceiveMessageFrom (asyncResult:IAsyncResult, socketFlags:Ref<SocketFlags>, endPoint:Ref<EndPoint>, ipPacketInformation:Out<IPPacketInformation>):IntEndSend (result:IAsyncResult):IntEndSend (asyncResult:IAsyncResult, errorCode:Out<SocketError>):IntEndSendFile (asyncResult:IAsyncResult):VoidEndSendTo (result:IAsyncResult):IntGetSocketOption (optionLevel:SocketOptionLevel, optionName:SocketOptionName, optionValue:NativeArray<UInt8>):VoidGetSocketOption (optionLevel:SocketOptionLevel, optionName:SocketOptionName):DynamicGetSocketOption (optionLevel:SocketOptionLevel, optionName:SocketOptionName, length:Int):NativeArray<UInt8>IOControl (ioctl_code:Int, in_value:NativeArray<UInt8>, out_value:NativeArray<UInt8>):IntIOControl (ioControlCode:IOControlCode, optionInValue:NativeArray<UInt8>, optionOutValue:NativeArray<UInt8>):IntListen (backlog:Int):VoidPoll (time_us:Int, mode:SelectMode):BoolReceive (buffer:NativeArray<UInt8>):IntReceive (buffers:IList_1<ArraySegment_1<UInt8>>, socketFlags:SocketFlags, errorCode:Out<SocketError>):IntReceive (buffers:IList_1<ArraySegment_1<UInt8>>, socketFlags:SocketFlags):IntReceive (buffers:IList_1<ArraySegment_1<UInt8>>):IntReceive (buffer:NativeArray<UInt8>, offset:Int, size:Int, flags:SocketFlags, error:Out<SocketError>):IntReceive (buffer:NativeArray<UInt8>, offset:Int, size:Int, flags:SocketFlags):IntReceive (buffer:NativeArray<UInt8>, size:Int, flags:SocketFlags):IntReceive (buffer:NativeArray<UInt8>, flags:SocketFlags):IntReceiveAsync (e:SocketAsyncEventArgs):BoolReceiveFrom (buffer:NativeArray<UInt8>, remoteEP:Ref<EndPoint>):IntReceiveFrom (buffer:NativeArray<UInt8>, offset:Int, size:Int, flags:SocketFlags, remoteEP:Ref<EndPoint>):IntReceiveFrom (buffer:NativeArray<UInt8>, size:Int, flags:SocketFlags, remoteEP:Ref<EndPoint>):IntReceiveFrom (buffer:NativeArray<UInt8>, flags:SocketFlags, remoteEP:Ref<EndPoint>):IntReceiveFromAsync (e:SocketAsyncEventArgs):BoolReceiveMessageFrom (buffer:NativeArray<UInt8>, offset:Int, size:Int, socketFlags:Ref<SocketFlags>, remoteEP:Ref<EndPoint>, ipPacketInformation:Out<IPPacketInformation>):IntReceiveMessageFromAsync (e:SocketAsyncEventArgs):BoolSend (buf:NativeArray<UInt8>):IntSend (buffers:IList_1<ArraySegment_1<UInt8>>, socketFlags:SocketFlags, errorCode:Out<SocketError>):IntSend (buffers:IList_1<ArraySegment_1<UInt8>>, socketFlags:SocketFlags):IntSend (buffers:IList_1<ArraySegment_1<UInt8>>):IntSend (buf:NativeArray<UInt8>, offset:Int, size:Int, flags:SocketFlags, error:Out<SocketError>):IntSend (buf:NativeArray<UInt8>, offset:Int, size:Int, flags:SocketFlags):IntSend (buf:NativeArray<UInt8>, size:Int, flags:SocketFlags):IntSend (buf:NativeArray<UInt8>, flags:SocketFlags):IntSendAsync (e:SocketAsyncEventArgs):BoolSendFile (fileName:String):VoidSendFile (fileName:String, preBuffer:NativeArray<UInt8>, postBuffer:NativeArray<UInt8>, flags:TransmitFileOptions):VoidSendPacketsAsync (e:SocketAsyncEventArgs):BoolSendTo (buffer:NativeArray<UInt8>, remote_end:EndPoint):IntSendTo (buffer:NativeArray<UInt8>, offset:Int, size:Int, flags:SocketFlags, remote_end:EndPoint):IntSendTo (buffer:NativeArray<UInt8>, size:Int, flags:SocketFlags, remote_end:EndPoint):IntSendTo (buffer:NativeArray<UInt8>, flags:SocketFlags, remote_end:EndPoint):IntSendToAsync (e:SocketAsyncEventArgs):BoolSetSocketOption (optionLevel:SocketOptionLevel, optionName:SocketOptionName, optionValue:NativeArray<UInt8>):VoidSetSocketOption (optionLevel:SocketOptionLevel, optionName:SocketOptionName, optionValue:Int):VoidSetSocketOption (optionLevel:SocketOptionLevel, optionName:SocketOptionName, optionValue:Bool):VoidSetSocketOption (optionLevel:SocketOptionLevel, optionName:SocketOptionName, optionValue:Dynamic):VoidShutdown (how:SocketShutdown):Voidstatic read only OSSupportsIPv6:Boolstatic read only SupportsIPv4:Boolstatic read only SupportsIPv6:Boolstatic Select (checkRead:IList, checkWrite:IList, checkError:IList, microSeconds:Int):Void
© 2005–2016 Haxe Foundation
Licensed under a MIT license.
http://api.haxe.org/cs/system/net/sockets/Socket.html