Ends a pending asynchronous send.

Namespace:  Rebex.Net
Assembly:  Rebex.Networking (in Rebex.Networking.dll)

Syntax

Visual Basic
Public Function EndSend ( _
	asyncResult As IAsyncResult _
) As Integer
C#
public int EndSend(
	IAsyncResult asyncResult
)

Parameters

asyncResult
Type: System..::..IAsyncResult
Stores state information for this asynchronous operation as well as any user-defined data.

Return Value

The number of bytes sent.

Implements

ISocketExt..::..EndSend(IAsyncResult)

Remarks

The EndSend method completes a request to accept a connection that was started with the BeginSend(array<Byte>[]()[][], Int32, Int32, SocketFlags, AsyncCallback, Object) method.

Version Information

.NET Compact Framework

Supported in: 3.9, 3.5

See Also