Characteristics:
microcontroller: TM4C129ENCPDT.
TI-RTOS: 2.10.1.38
I have an interface with a TM4C129ENC server communicate via UDP with another TM4C129ENC interface as UDP client.
In the network there is a loss of data packets (sockets), and sometimes it locks the tool "recvfrom" set to "MSG_WAITALL".
When not receiving the data packet, does not leave exit "recvfrom" , some way out of "recvfrom"?
If by "MSG_DONTWAIT" it becomes non-blocking, but this way there is always the error "35".
I implemented a mechanism to reset the watchdog, but it takes too long to restart the interface.
What is the best "strategy" to ignore the lost packets?
Why you are constantly losing data packets?
Analyzing with wireshark, there is no communication error, only the server or the client fails to communicate, do not send more data packets.
The network is a router with a hub connected between interfaces and compudador to analyze data packets with wireshark.
Regards
Patricio