Jump to main content

##

# NET_PRES_SocketIsOpenModeSupported Function

## C

    bool NET_PRES_SocketIsOpenModeSupported(NET_PRES_INDEX index, NET_PRES_SKT_T socketType);

## Returns

- true - The mode is supported

- false - The mode is not supported

## Description

This function checks to see if a mode is supported by open.

## Preconditions

The MPLAB Harmony Networking Presentation Layer is initialized.

## Parameters

Parameters | Description
--- | ---
index | Index of the presentation layer.
socketType | The type of socket to mode to be checked.