WiFi Framework
ContentsIndexHome
PreviousUpNext
CwclWiFiSniffer::SetChannel Method

Sets the current channel.

Syntax
C++
int SetChannel(unsigned long Channel);
Parameters 
Description 
unsigned long Channel 
The new RF channel number.  

If the function succeed the return value is wclCommon::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.