问题描述
我正在尝试熟悉一个有bug的C ++应用程序。
我想让局域网不可用时应用程序连接到WLAN,反之亦然。
基本上,当LAN电缆拔出时,它无法连接到WLAN。是否有像网络管理器这样的自动机制来处理这个问题?或者我必须自己在代码中照顾这个?如果是后者,有关如何操作的任何提示吗?
任何帮助都表示赞赏。
谢谢!
I am trying to familiarize myself with a C++ application which has a bug.
I''d like to have the application connect to WLAN when LAN is not available and vice versa.
Basically, it fails to connect to WLAN when LAN cable is plugged out. Is there a auto mechanism like Network manager which takes care of this? Or do i have to look after this in the code myself? If latter, any tips on how to do it?
Any help is appreciated.
Thanks!
推荐答案
这是写的......但是看起来不能正常运作。我需要让它发挥作用。
确实存在明显的LAN和WLAN连接。
我想知道在哪里可以找到一些示例代码,它将连接从LAN转移到WLAN。即使学习如何通过LAN或WLAN建立连接也应该有所帮助。 br />
感谢您的帮助!
It is written so... but appearantly not functioning fine. I need to make it work.
There are indeed distinct LAN and WLAN connections.
I wonder where i can find some example code which looks after transferring the connection from LAN to WLAN.. Even learning how to establish a connection over LAN or WLAN should help as well.
Thanks for your help!
这篇关于如何从以太网适配器切换到另一个局域网到WLAN?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!