I have a custom board and want to get the status of the ethernet connection. It connect to a program with a socket and I am able to detect when the program is closed. But if the cable is disconnected I have not found any way to discover this in my program.
The Ethernet indication LEDs reacts properly and indicates a lost connection.
How can my CCS tirtos program(developed from tcp_echo example code) get the same information?