|
.Networkstart Method |
Top Previous Next |
Function: |
Causes the Wi-Fi interface to commence creating its own ad-hoc network. |
Syntax: |
wln.networkstart(byref ssid as string, channel as byte) as accepted_rejected |
Returns: |
One of accepted_rejected constants: 0- ACCEPTED. 1- REJECTED. |
See Also: |
Creating Own Ad-hoc network, Setting Wi-Fi Security, Wln Tasks |
Part |
Description |
ssid |
The name of the ad-hoc network to create. |
channel |
Channel on which the new ad-hoc network will operate. |
Details
The network creation process is a task and there is a certain correct way of handling tasks. Task completion does not imply success -- the result has to be verified by reading the state of the wln.associationstate read-only property after the task is completed.