`
jason_zh
  • 浏览: 8205 次
  • 性别: Icon_minigender_1
  • 来自: 大连
最近访客 更多访客>>
社区版块
存档分类
最新评论

How do I determine whether the currently active network connection is Wi-Fi or t

 
阅读更多
The SCNetworkReachability API allows an application to determine the status of a system's current network configuration and the reachability of a target host. One of the flags returned by the API, kSCNetworkReachabilityFlagsIsWWAN, will tell you if a network connection to the target host uses the carrier network. The Reachability sample code shows how to determine the active network connection.
分享到:
评论

相关推荐

    Enter a three-digit number to determine whether the number is a

    Enter a three-digit number to determine whether the number is a daffodil number or not, and output t.zip

    Inssider_Source

    inSSIDer 是一款可以工作在 Vista 以及 64 位 XP 下的无线网络信号扫描工具 inSSIDer 除了提供信号强度外,它还... inSSIDer uses the Windows Native Wi-Fi API, integrating the AP MAC address, and Wi-Fi channel.

    MS-DOS 5.0

    be able to determine the amount of extended memory you have. To avoid this problem, disable the card before running Setup. 2.12 Bernoulli Cache -------------------- Before running Setup, open the ...

    Senfore_DragDrop_v4.1

    "Ignore All" when the IDE complains that this or that property doesn't exist and finally save the forms. ------------------------------------------- 3. Getting started: -----------------------------...

    Top-k Structure Holes Detection Algorithm in Social Network

    The detection of such vertices is of great significance for the control of network public opinion, the analysis of the influence of social network, the detection of the weak points of the network ...

    计算机网络第六版答案

    23. The five layers in the Internet protocol stack are – from top to bottom – the application layer, the transport layer, the network layer, the link layer, and the physical layer. The principal ...

    微软内部资料-SQL性能优化3

    This removes the requirement to examine every row or page lock on the table to determine whether a transaction can lock the entire table. Lock Mode The code shown in the slide represents how the ...

    a project model for the FreeBSD Project.7z

    performance and stability.” The architectural guidelines help determine whether a problem that someone wants to be solved is within the scope of the project Chapter 2 Definitions 2.1. Activity An...

    Determine-the-type-of-drive.rar_The Drive

    "Determine-the-type-of-drive.rar_The Drive" 这个压缩包文件提供了关于识别计算机驱动器类型以及操作系统位数的方法。这里我们将深入探讨如何确定驱动器类型(硬盘、移动磁盘或光驱)以及如何辨别系统是32位还是64...

    2009 达内Unix学习笔记

    mv [-f] [-i] f1 ... fn d1 mv [-f] [-i] d1 d2 mv 源文件名 目标文件名 若目标文件名还没有,则是源文件重命名为目标文件;若目标文件已存在,则源文件覆盖目标文件。 mv 源文件名 目标目录 移动文件 mv 源目录...

    微软内部资料-SQL性能优化2

    A 32-bit process is normally limited to addressing 2 gigabytes (GB) of memory, or 3 GB if the system was booted using the /3G boot switch even if there is more physical memory available. By leveraging...

    数位板压力测试

    This specification is intended to be an open standard, and as such the text and information contained herein may be freely used, copied, or distributed without compensation or licensing restrictions. ...

    Cisco Press - OSPF Network Design Solutions, 2nd Edition

    Step 3: Determine the Addressing and Naming Conventions 180 Public or Private Address Space 180 Plan Now for OSPF Summarization 181 Bit Splitting (Borrowing Bits) 184 Map OSPF Addresses for VLSM 184 ...

    BURNINTEST--硬件检测工具

    - A network connection and the TCP/IP networking software installed for the Network Tests Pro version only: - A serial port loop back plug for the serial port test. - A parallel port loop back plug...

    Bochs - The cross platform IA-32 (x86) emulator

    devices (currently only used to set the speed reported by device and to specify an alternative redolog file of USB MSD disk image modes) - hard drive - new disk image mode 'vvfat' - ported the ...

    ethereal网络抓包工具

    Ethereal is a GUI network protocol analyzer. It lets you interactively browse packet data from a live network or from a previously saved capture file. See: http://www.ethereal.com for new versions, ...

    LCTF软件备份VariSpec™ Liquid Crystal Tunable Filters

    For latest information, or to determine how to alter the settings from the factory defaults, consult the VariSpec manual. Timing and latency The VariSpec filter takes a finite time to process ...

    微软内部资料-SQL性能优化5

    The order of pages in the page chain, and the order of rows on the data pages, is the order of the index key or keys. Deciding which key to cluster on is an important performance consideration. When ...

Global site tag (gtag.js) - Google Analytics