NET_PRES_SocketIsSecure Function

C

bool NET_PRES_SocketIsSecure(NET_PRES_SKT_HANDLE_T handle); 

Returns

  • true - If the communications is secure

  • false - If the communications is not secure

Description

This function returns whether or not the connection is secure. It will return true if encryption negotiation was successful .

Preconditions

A socket needs to have been opened by NET_PRES_SocketOpen.

Parameters

ParametersDescription
handleThe presentation layer socket handle.