NET_PRES_SocketFlush Function

C

uint16_t NET_PRES_SocketFlush(NET_PRES_SKT_HANDLE_T handle); 

Returns

  • The number of flushed bytes

  • 0, if no flushed bytes or an error occurred

Description

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

Preconditions

A socket needs to have been opened by NET_PRES_SocketOpen.

Parameters

ParametersDescription
handleThe presentation layer socket handle.