> ## Documentation Index
> Fetch the complete documentation index at: https://docs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# XNetworkingConnectivityCostHint

> XNetworkingConnectivityCostHint

Defines data-limit classification hints for a device.

## Syntax

```cpp theme={null}
enum class XNetworkingConnectivityCostHint  : uint32_t
{
    Unknown = 0,
    Unrestricted = 1,
    Fixed = 2,
    Variable = 3,
}
```

## Constants

| Constant | Description |
| - | - |
| Unknown | Cost information is not available. |
| Unrestricted | The connection is unlimited and has unrestricted usage charges and capacity. |
| Fixed | The use of this connection is unrestricted up to a specific limit. |
| Variable | The connection cost is determined on a per-byte basis. |

## Remarks

This enumeration determines whether the device has limits and whether the data limits are fixed or variable.

> [!NOTE]
>
> The data-limit hint is a best-effort guess by a device about the current state of the network based on a summary of the network traffic on the device.

An unknown connectivity cost occurs when the network is not initialized. Unrestricted connectivity refers to a connection that is unlimited and has unrestricted usage charges and capacity. Fixed connectivity refers to the use of a connection that is unrestricted up to a specific limit. Variable connectivity refers to the connection cost that is determined on a per-byte basis.

## Requirements

**Header:** XNetworking.h

**Supported platforms:** Windows, XBOX One family consoles and XBOX Series consoles

## See also

[Retrieving Network Information](https://docs.xbox.com/build/console-features/networking/initialization-connectivity-networking.md)\
[XNetworkingConnectivityHint](https://docs.xbox.com/reference/networking/xnetworking/structs/xnetworkingconnectivityhint.md)\
[XNetworking](https://docs.xbox.com/reference/networking/xnetworking/xnetworking_members.md)


## Related topics

- [XNetworkingConnectivityHint](https://docs.xbox.com/reference/networking/xnetworking/structs/xnetworkingconnectivityhint.md)
- [XNetworking (API contents)](https://docs.xbox.com/reference/networking/xnetworking/xnetworking_members.md)
- [XNetworkingGetConnectivityHint](https://docs.xbox.com/reference/networking/xnetworking/functions/xnetworkinggetconnectivityhint.md)
- [XNetworkingConnectivityLevelHint](https://docs.xbox.com/reference/networking/xnetworking/enums/xnetworkingconnectivitylevelhint.md)
- [XNetworkingRegisterConnectivityHintChanged](https://docs.xbox.com/reference/networking/xnetworking/functions/xnetworkingregisterconnectivityhintchanged.md)
