IrDA Framework
ContentsIndexHome
PreviousUpNext
CwclIrDAClient::SetService Method

Sets the IrDA service that should be used to connect. It can be a TinyTP service name or LSAP selector number. In case of using LSAP selector number the format is 'LSAP-SELn' where n is a select number in range from 1 to 127.

Syntax
C++
void SetService(tstring Value = _T("IrDA:IrCOMM"));
Parameters 
Description 
tstring Value = _T("IrDA:IrCOMM") 
The IrDA service's name or LSAP selector number.  

If an application changes the property when client is connected the wclEClientActive exception raises. If new value of the property is an empty string the wclEInvalidArgument exception raises.

Exceptions 
Description 
 
 
Copyright (c) 2006-2017. All rights reserved.