NET_PRES_TransOption Type

C

typedef bool (* NET_PRES_TransOption)(NET_PRES_SKT_HANDLE_T handle, NET_PRES_TRANS_OPTION_T option, void * optParam); 

Returns

  • true - Indicates success

  • false - Indicates failure

Description

Transport Layer Option Function Pointer Prototype This function is called by the presentation layer when an application wants to get the current socket options or set them.

Preconditions

A socket needs to have been opened by NET_PRES_TransOpen.

Parameters

ParametersDescription
handleThe handle returned from NET_PRES_TransOpen.
optionThe option to set or get.
optParamThe pointer to option specific information.