NET_PRES_SocketDisconnect Function

C

bool NET_PRES_SocketDisconnect(NET_PRES_SKT_HANDLE_T handle); 

Returns

  • true - Indicates success

  • false - Indicates failure

Description

This function calls the transport layer's disconnect function directly, if it exists.

Preconditions

A socket needs to have been opened by NET_PRES_SocketOpen.

Parameters

ParametersDescription
handleThe presentation layer socket handle.