IrDAClientBeginConnect(IrDAEndPoint, AsyncCallback, Object) Method

Begins an asynchronous request for a remote host connection. The remote host is specified by an endpoint.

Definition

Namespace: InTheHand.Net.Sockets
Assembly: InTheHand.Net.IrDA (in InTheHand.Net.IrDA.dll) Version: 4.0.2+5cdf1cfd21064ea31c5de33d160200ca1c4bc218
C#
public IAsyncResult BeginConnect(
	IrDAEndPoint remoteEP,
	AsyncCallback requestCallback,
	Object state
)

Parameters

remoteEP  IrDAEndPoint
An IrDAEndPoint initialised with the address of the peer device and the service name to connect to.
requestCallback  AsyncCallback
An AsyncCallback delegate that references the method to invoke when the operation is complete.
state  Object
A user-defined object that contains information about the connect operation. This object is passed to the requestCallback delegate when the operation is complete.

Return Value

IAsyncResult
An IAsyncResult that represents the asynchronous connect, which could still be pending.

See Also