0

I have a C app on Windows 11 which connects to a wifi Hotspot A without internet connectivity using WlanConnect. It works, the connection is stable. However, let's say there is another Hotspot B in proximity which has internet connectivity and is registered in Windows as an 'auto connect' network.

I have noticed sometimes Windows will switch by itself to Hotspot B. Is this expected behavior, is there any way to diagnose the reason the switch was made? If I disconnect manually from Hotspot and relaunch the app, I get connected again to hotspot A. I just want to golf that connection as long as the hotspot is running.

1
  • I had a look in wlan events, every time it happens, a 8003 disconnect event happens with the reason "The network is disconnected by the driver." Commented Nov 7 at 18:22

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.