It seems to me that the XTCP LWIP stack does not have a way to handle TCP timeouts?
I expected the XTCP_TIMED_OUT event to be fired but while debugging I noticed that it is never used within lib_xtcp (only the uip stack).
Confusingly the api/xtcp.h file does expose the following enum:
Code: Select all
typedef enum {
ARP_TIMEOUT = 0,
AUTOIP_TIMEOUT,
TCP_TIMEOUT,
IGMP_TIMEOUT,
DHCP_COARSE_TIMEOUT,
DHCP_FINE_TIMEOUT,
NUM_TIMEOUTS
} xtcp_lwip_timeout_type;
Have I missed something?