WiFi Framework
ContentsIndexHome
PreviousUpNext
TwclWiFiSniffer.SetChannel Method

Sets the current channel.

Syntax
Pascal
function SetChannel(const Channel: Cardinal): Integer;
Parameters 
Description 
const Channel: Cardinal 
The new RF channel number.  

If the function succeed the return value is WCL_E_SUCCESS. Otherwise the method returns one of the WCL error codes.

Not all adapters allow to change the channel number.

Copyright (c) 2006-2019. All rights reserved.