W3cubDocs

/Haxe C#

Socket_SocketAsyncResult

package cs.system.net.sockets

implements IAsyncResult

import cs.system.net.sockets.Socket

@:final@:libType@:csNative@:native("System.Net.Sockets.Socket.SocketAsyncResult") Available on cs

Constructor

@:final @:overload new ()

@:final @:overload new (sock:Socket, state:Dynamic, callback:AsyncCallback, operation:Socket_SocketOperation)

Variables

AcceptSocket:Socket

Addresses:NativeArray<IPAddress>

read only AsyncState:Dynamic

AsyncWaitHandle:WaitHandle

Buffer:NativeArray<UInt8>

Buffers:IList_1<ArraySegment_1<UInt8>>

read only CompletedSynchronously:Bool

CurrentAddress:Int

EndCalled:Int

EndPoint:EndPoint

read only ErrorCode:SocketError

IsCompleted:Bool

Offset:Int

Port:Int

ReuseSocket:Bool

Size:Int

Sock:Socket

SockFlags:SocketFlags

read only Socket:Socket

Total:Int

Worker:Socket_Worker

ares:Dynamic

blocking:Bool

handle:IntPtr

operation:Socket_SocketOperation

Methods

@:final @:overload CheckIfThrowDelayedException ():Void

@:final @:overload Complete ():Void

@:final @:overload Complete (s:Socket, total:Int):Void

@:final @:overload Complete (s:Socket):Void

@:final @:overload Complete (e:Exception):Void

@:final @:overload Complete (e:Exception, synch:Bool):Void

@:final @:overload Complete (total:Int):Void

@:final @:overload Complete (synch:Bool):Void

@:final @:overload Dispose ():Void

@:final @:overload DoMConnectCallback ():Void

@:final @:overload Init (sock:Socket, state:Dynamic, callback:AsyncCallback, operation:Socket_SocketOperation):Void

© 2005–2018 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/cs/system/net/sockets/Socket_SocketAsyncResult.html