[FreeRTOS+TCP API Reference]
BaseType_t FreeRTOS_IsNetworkUp( void );Used to test if the network is currently up (connected) or down (disconnected). Note that disconnect events come from the network interface driver, so rely on the network interface driver for implementation.
pdTRUE if the network is up (connected). Otherwise pdFALSE.