IrDA Framework
ContentsIndexHome
PreviousUpNext
CwclIrDAServer::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 server is listening the wclEServerActive exception raises. If an application sets the property to an empty string the wclEInvalidArgument exception raises.

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