Contents

CWWiFiClient

A wrapper around the entire Wi-Fi subsystem that you use to access interfaces and set up event notifications.

Declaration

class CWWiFiClient

Overview

Wi-Fi client objects are heavy. Therefore, it’s more efficient to use a single, long-running client instance, rather than creating several short-lived instances. For convenience, you can use the singleton instance returned by the shared() class method.

Instead of instantiating CWInterface objects directly, use the ones provided by the instance methods of this class. For example, the interface() method returns the default Wi-Fi interface.

Topics

Getting the Shared Instance

Initializing a Wi-Fi Client

Setting a Delegate

Getting Interfaces

Monitoring Events

Instance Methods

See Also

Classes