随着3G和Wifi的推广,越来越多的Android应用程序需要调用网络资源,检测网络连接状态也就成为网络应用程序所必备的功能. Android平台提供了ConnectivityManager 类,用于网络连接状态的检测. Android开发文档这样描述ConnectivityManager 的作用: Class that answers queries about the state of network connectivity. It also notifies applications
由于 OPC(OLE for Process Control)建立在 Microsoft 的 COM(COmponent Model)基础 上,并且 OPC 的远程通讯依赖 Microsoft 的 DCOM(Distribute COM),安全方面则依赖 Microsof的 Windows 安全设置.通过网络相互通信,OPC Server(OPC 服务端)和 OPC Client(OPC 客户端)所在的操作系统,需要设置 DCOM 的安全属性,下面使用 Windows 7 系统介绍配置过程.由于