Ends an asynchronous request to listen for an incoming connection.

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

Syntax

Visual Basic
Public Function EndListen ( _
	asyncResult As IAsyncResult _
) As EndPoint
C#
public EndPoint EndListen(
	IAsyncResult asyncResult
)

Parameters

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

Return Value

The endpoint to which a connection from a remote host can be made.

Implements

ISocketExt..::..EndListen(IAsyncResult)

Remarks

The EndListen method completes a request to listen for a connection that was started with the Listen(ISocket) method.

Version Information

.NET Compact Framework

Supported in: 3.9, 3.5

See Also