package cs.system.net.sockets
implements IDisposable
Available on csnew (socketInformation:SocketInformation)
new (family:AddressFamily, type:SocketType, proto:ProtocolType)
read only AddressFamily:AddressFamily
read only Available:Int
Blocking:Bool
read only Connected:Bool
DontFragment:Bool
EnableBroadcast:Bool
ExclusiveAddressUse:Bool
read only Handle:IntPtr
read only IsBound:Bool
LingerState:LingerOption
read only LocalEndPoint:EndPoint
MulticastLoopback:Bool
NoDelay:Bool
read only ProtocolType:ProtocolType
ReceiveBufferSize:Int
ReceiveTimeout:Int
read only RemoteEndPoint:EndPoint
SendBufferSize:Int
SendTimeout:Int
read only SocketType:SocketType
Ttl:Int16
UseOnlyOverlappedIO:Bool
Accept ():Socket
AcceptAsync (e:SocketAsyncEventArgs):Bool
BeginAccept (callback:AsyncCallback, state:Dynamic):IAsyncResult
BeginAccept (acceptSocket:Socket, receiveSize:Int, callback:AsyncCallback, state:Dynamic):IAsyncResult
BeginAccept (receiveSize:Int, callback:AsyncCallback, state:Dynamic):IAsyncResult
BeginConnect (address:IPAddress, port:Int, callback:AsyncCallback, state:Dynamic):IAsyncResult
BeginConnect (addresses:NativeArray<IPAddress>, port:Int, callback:AsyncCallback, state:Dynamic):IAsyncResult
BeginConnect (end_point:EndPoint, callback:AsyncCallback, state:Dynamic):IAsyncResult
BeginConnect (host:String, port:Int, callback:AsyncCallback, state:Dynamic):IAsyncResult
BeginDisconnect (reuseSocket:Bool, callback:AsyncCallback, state:Dynamic):IAsyncResult
BeginReceive (buffer:NativeArray<UInt8>, offset:Int, size:Int, socket_flags:SocketFlags, callback:AsyncCallback, state:Dynamic):IAsyncResult
BeginReceive (buffers:IList_1<ArraySegment_1<UInt8>>, socketFlags:SocketFlags, errorCode:Out<SocketError>, callback:AsyncCallback, state:Dynamic):IAsyncResult
BeginReceive (buffers:IList_1<ArraySegment_1<UInt8>>, socketFlags:SocketFlags, callback:AsyncCallback, state:Dynamic):IAsyncResult
BeginReceive (buffer:NativeArray<UInt8>, offset:Int, size:Int, flags:SocketFlags, error:Out<SocketError>, callback:AsyncCallback, state:Dynamic):IAsyncResult
BeginReceiveFrom (buffer:NativeArray<UInt8>, offset:Int, size:Int, socket_flags:SocketFlags, remote_end:Ref<EndPoint>, callback:AsyncCallback, state:Dynamic):IAsyncResult
BeginReceiveMessageFrom (buffer:NativeArray<UInt8>, offset:Int, size:Int, socketFlags:SocketFlags, remoteEP:Ref<EndPoint>, callback:AsyncCallback, state:Dynamic):IAsyncResult
BeginSend (buffer:NativeArray<UInt8>, offset:Int, size:Int, socket_flags:SocketFlags, callback:AsyncCallback, state:Dynamic):IAsyncResult
BeginSend (buffers:IList_1<ArraySegment_1<UInt8>>, socketFlags:SocketFlags, errorCode:Out<SocketError>, callback:AsyncCallback, state:Dynamic):IAsyncResult
BeginSend (buffers:IList_1<ArraySegment_1<UInt8>>, socketFlags:SocketFlags, callback:AsyncCallback, state:Dynamic):IAsyncResult
BeginSend (buffer:NativeArray<UInt8>, offset:Int, size:Int, socketFlags:SocketFlags, errorCode:Out<SocketError>, callback:AsyncCallback, state:Dynamic):IAsyncResult
BeginSendFile (fileName:String, callback:AsyncCallback, state:Dynamic):IAsyncResult
BeginSendFile (fileName:String, preBuffer:NativeArray<UInt8>, postBuffer:NativeArray<UInt8>, flags:TransmitFileOptions, callback:AsyncCallback, state:Dynamic):IAsyncResult
BeginSendTo (buffer:NativeArray<UInt8>, offset:Int, size:Int, socket_flags:SocketFlags, remote_end:EndPoint, callback:AsyncCallback, state:Dynamic):IAsyncResult
Bind (local_end:EndPoint):Void
Close ():Void
Close (timeout:Int):Void
Connect (address:IPAddress, port:Int):Void
Connect (remoteEP:EndPoint):Void
Connect (host:String, port:Int):Void
Connect (addresses:NativeArray<IPAddress>, port:Int):Void
ConnectAsync (e:SocketAsyncEventArgs):Bool
Disconnect (reuseSocket:Bool):Void
DisconnectAsync (e:SocketAsyncEventArgs):Bool
DuplicateAndClose (targetProcessId:Int):SocketInformation
EndAccept (result:IAsyncResult):Socket
EndAccept (buffer:Out<NativeArray<UInt8>>, bytesTransferred:Out<Int>, asyncResult:IAsyncResult):Socket
EndAccept (buffer:Out<NativeArray<UInt8>>, asyncResult:IAsyncResult):Socket
EndConnect (result:IAsyncResult):Void
EndDisconnect (asyncResult:IAsyncResult):Void
EndReceive (result:IAsyncResult):Int
EndReceive (asyncResult:IAsyncResult, errorCode:Out<SocketError>):Int
EndReceiveFrom (result:IAsyncResult, end_point:Ref<EndPoint>):Int
EndReceiveMessageFrom (asyncResult:IAsyncResult, socketFlags:Ref<SocketFlags>, endPoint:Ref<EndPoint>, ipPacketInformation:Out<IPPacketInformation>):Int
EndSend (result:IAsyncResult):Int
EndSend (asyncResult:IAsyncResult, errorCode:Out<SocketError>):Int
EndSendFile (asyncResult:IAsyncResult):Void
EndSendTo (result:IAsyncResult):Int
GetSocketOption (optionLevel:SocketOptionLevel, optionName:SocketOptionName, optionValue:NativeArray<UInt8>):Void
GetSocketOption (optionLevel:SocketOptionLevel, optionName:SocketOptionName):Dynamic
GetSocketOption (optionLevel:SocketOptionLevel, optionName:SocketOptionName, length:Int):NativeArray<UInt8>
IOControl (ioctl_code:Int, in_value:NativeArray<UInt8>, out_value:NativeArray<UInt8>):Int
IOControl (ioControlCode:IOControlCode, optionInValue:NativeArray<UInt8>, optionOutValue:NativeArray<UInt8>):Int
Listen (backlog:Int):Void
Poll (time_us:Int, mode:SelectMode):Bool
Receive (buffer:NativeArray<UInt8>):Int
Receive (buffers:IList_1<ArraySegment_1<UInt8>>, socketFlags:SocketFlags, errorCode:Out<SocketError>):Int
Receive (buffers:IList_1<ArraySegment_1<UInt8>>, socketFlags:SocketFlags):Int
Receive (buffers:IList_1<ArraySegment_1<UInt8>>):Int
Receive (buffer:NativeArray<UInt8>, offset:Int, size:Int, flags:SocketFlags, error:Out<SocketError>):Int
Receive (buffer:NativeArray<UInt8>, offset:Int, size:Int, flags:SocketFlags):Int
Receive (buffer:NativeArray<UInt8>, size:Int, flags:SocketFlags):Int
Receive (buffer:NativeArray<UInt8>, flags:SocketFlags):Int
ReceiveAsync (e:SocketAsyncEventArgs):Bool
ReceiveFrom (buffer:NativeArray<UInt8>, remoteEP:Ref<EndPoint>):Int
ReceiveFrom (buffer:NativeArray<UInt8>, offset:Int, size:Int, flags:SocketFlags, remoteEP:Ref<EndPoint>):Int
ReceiveFrom (buffer:NativeArray<UInt8>, size:Int, flags:SocketFlags, remoteEP:Ref<EndPoint>):Int
ReceiveFrom (buffer:NativeArray<UInt8>, flags:SocketFlags, remoteEP:Ref<EndPoint>):Int
ReceiveFromAsync (e:SocketAsyncEventArgs):Bool
ReceiveMessageFrom (buffer:NativeArray<UInt8>, offset:Int, size:Int, socketFlags:Ref<SocketFlags>, remoteEP:Ref<EndPoint>, ipPacketInformation:Out<IPPacketInformation>):Int
ReceiveMessageFromAsync (e:SocketAsyncEventArgs):Bool
Send (buf:NativeArray<UInt8>):Int
Send (buffers:IList_1<ArraySegment_1<UInt8>>, socketFlags:SocketFlags, errorCode:Out<SocketError>):Int
Send (buffers:IList_1<ArraySegment_1<UInt8>>, socketFlags:SocketFlags):Int
Send (buffers:IList_1<ArraySegment_1<UInt8>>):Int
Send (buf:NativeArray<UInt8>, offset:Int, size:Int, flags:SocketFlags, error:Out<SocketError>):Int
Send (buf:NativeArray<UInt8>, offset:Int, size:Int, flags:SocketFlags):Int
Send (buf:NativeArray<UInt8>, size:Int, flags:SocketFlags):Int
Send (buf:NativeArray<UInt8>, flags:SocketFlags):Int
SendAsync (e:SocketAsyncEventArgs):Bool
SendFile (fileName:String):Void
SendFile (fileName:String, preBuffer:NativeArray<UInt8>, postBuffer:NativeArray<UInt8>, flags:TransmitFileOptions):Void
SendPacketsAsync (e:SocketAsyncEventArgs):Bool
SendTo (buffer:NativeArray<UInt8>, remote_end:EndPoint):Int
SendTo (buffer:NativeArray<UInt8>, offset:Int, size:Int, flags:SocketFlags, remote_end:EndPoint):Int
SendTo (buffer:NativeArray<UInt8>, size:Int, flags:SocketFlags, remote_end:EndPoint):Int
SendTo (buffer:NativeArray<UInt8>, flags:SocketFlags, remote_end:EndPoint):Int
SendToAsync (e:SocketAsyncEventArgs):Bool
SetSocketOption (optionLevel:SocketOptionLevel, optionName:SocketOptionName, optionValue:NativeArray<UInt8>):Void
SetSocketOption (optionLevel:SocketOptionLevel, optionName:SocketOptionName, optionValue:Int):Void
SetSocketOption (optionLevel:SocketOptionLevel, optionName:SocketOptionName, optionValue:Bool):Void
SetSocketOption (optionLevel:SocketOptionLevel, optionName:SocketOptionName, optionValue:Dynamic):Void
Shutdown (how:SocketShutdown):Void
static read only OSSupportsIPv6:Bool
static read only SupportsIPv4:Bool
static read only SupportsIPv6:Bool
static Select (checkRead:IList, checkWrite:IList, checkError:IList, microSeconds:Int):Void
© 2005–2018 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/cs/system/net/sockets/Socket.html