FreeRTOS_IsNetworkUp()

[FreeRTOS+TCP API Reference]

FreeRTOS_IP.h
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.

Returns:

pdTRUE if the network is up (connected). Otherwise pdFALSE.