Networking_InterfaceConnectionStatus Enum

Header: #include <applibs/networking.h>

A bit mask that specifies the connection status of a network interface.

typedef enum Networking_InterfaceConnectionStatus {
    Networking_InterfaceConnectionStatus_InterfaceUp = 1 << 0,
    Networking_InterfaceConnectionStatus_ConnectedToNetwork = 1 << 1,
    Networking_InterfaceConnectionStatus_IpAvailable = 1 << 2,
    Networking_InterfaceConnectionStatus_ConnectedToInternet = 1 << 3
} Networking_InterfaceConnectionStatus;

Values

Networking_InterfaceConnectionStatus_InterfaceUp

The interface is enabled.

Networking_InterfaceConnectionStatus_ConnectedToNetwork

The interface is connected to a network.

Networking_InterfaceConnectionStatus_IpAvailable

The interface has an IP address assigned to it.

Networking_InterfaceConnectionStatus_ConnectedToInternet

The interface is connected to the internet.

Remarks

This enum is used by the Networking_GetInterfaceConnectionStatus function.

Concepts and samples