NET_PRES_SocketClose Function

C

void NET_PRES_SocketClose(NET_PRES_SKT_HANDLE_T handle); 

Returns

None.

Description

This function calls the encryption provider's close function and then calls the close function of the transport layer for the socket and frees the socket for reuse.

Preconditions

A socket needs to have been opened by NET_PRES_SocketOpen.

Parameters

ParametersDescription
handleThe presentation layer socket handle.