- reset the socket stack
#include <$OV_HEADER/ecs/ESOK/sockstack.h> int32 ESOK_stackReset(void);
This function resets the socket stack to its initial state. Any outstanding data in the socket stack cache is processed first. This may cause registered receive functions to be called.
This function will close any open connections and should be called before program exit. After this function has been called, ESOK_stackInit must be called to reinitialize the socket stack.
ECS_SUCCESS
ESOK_NOT_INITIALISED
ESOK_stackInithas not been called.
ESOK_COMMUNICATION_ERROR