IrDAClient(IrDAEndPoint) Constructor

Initializes a new instance of the IrDAClient class and connects to the specified endpoint.

Definition

Namespace: InTheHand.Net.Sockets
Assembly: InTheHand.Net.IrDA (in InTheHand.Net.IrDA.dll) Version: 4.0.2+5cdf1cfd21064ea31c5de33d160200ca1c4bc218
C#
public IrDAClient(
	IrDAEndPoint remoteEP
)

Parameters

remoteEP  IrDAEndPoint
An IrDAEndPoint initialised with the address of the peer device and the service name to connect to.

Remarks

This is equivalent to calling the default constructor followed by Connect(IrDAEndPoint).

The endpoint specifies both the peer device and service name to connect to. If only one device is expected to be in range, or an arbitrary peer device is suitable, then one can use IrDAClient(String) instead.

See Also