Windows Mobile 6.5 C++ - 确定互联网连接
我的应用程序需要每 30 分钟发送一些数据包,但我不想通过收费服务(如 GPRS/EDGE/...)发送...我只想在 WiFi/ActiveSync 启动时发送。
如何查明是否:
- 当前有 Wifi 用作网络
- 当前有 GPRS/EDGE/UMTS... 用作网络
- 当前有 Active Sync 使用
My application needs to send some packets every 30 minutes, but I don't want to send via charged services like GPRS/EDGE/... I would like to send only if a WiFi / ActiveSync is UP.
How do I find out if:
- There is currently Wifi used as network
- There is currently GPRS/EDGE/UMTS... used as network
- There is currently Active Sync used
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
已解决
好的,发现可以工作:
RESOLVED
Ok, found that working :