如何从以太网适配器切换到另一个局域网到WLAN? [英] How to switch from a Ethernet Adapter to another-LAN to WLAN?

查看:457
本文介绍了如何从以太网适配器切换到另一个局域网到WLAN?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试熟悉一个有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和WAN的不同连接(即应用程序是否正常运行,应用程序是否可以正常运行)?如果两者都是,我认为问题出在程序本身。
Is the application written so that it is supposed to? Are there distinct connections on the box that are being labeled as LAN and WAN (ie, is the app functioning correctly, and can the app function correctly)? If yes to both, I would think the issue is in the program itself.



应用程序是否应该编写应用程序?盒子上是否有标记为LAN和WAN的不同连接(即应用程序是否正常运行,应用程序是否可以正常运行)?如果两者都是,我认为问题出在程序本身。
Is the application written so that it is supposed to? Are there distinct connections on the box that are being labeled as LAN and WAN (ie, is the app functioning correctly, and can the app function correctly)? If yes to both, I would think the issue is in the program itself.



这是写的......但是看起来不能正常运作。我需要让它发挥作用。


确实存在明显的LAN和WLAN连接。


我想知道在哪里可以找到一些示例代码,它将连接从LAN转移到WLAN。即使学习如何通过LAN或WL​​AN建立连接也应该有所帮助。 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!


如果它是为此而设计的,我建议您查看代码 - 我的猜测是它是在那里。
If it is designed to do that, I would recommend looking at the code - my guess would be that it is in there.


这篇关于如何从以太网适配器切换到另一个局域网到WLAN?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆