Initializes a new instance of the IrDAClient
class and connects to the specified endpoint.
| C# | Visual Basic |
public IrDAClient( IrDAEndPoint remoteEP )
Public Sub New ( _ remoteEP As IrDAEndPoint _ )
- remoteEP (IrDAEndPoint)
- An IrDAEndPoint initialised with the address of the peer device and the service name to connect to.
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.