tcp client无法使用keepalive功能,调用此函数不起作用wiced_tcp_enable_keepalive(&tcp_client_socket,TCP_KEEP_ALIVE_INTERVAL, TCP_KEEP_ALIVE_PROBES,TCP_KEEP_ALIVE_TIME);
更改nx_tcp.h和nx_user.h中的NX_TCP_KEEPALIVE_INITIAL、NX_TCP_KEEPALIVE_RETRIES和NX_TCP_KEEPALIVE_RETRY值都不起作用,确定已经定义#define NX_ENABLE_TCP_KEEPALIVE
43907 The TCP client cannot use the Keepalive function
The TCP client cannot use the Keepalive function. Wiced_tcp_enable_keepalive (&tcp_client_socket,TCP_KEEP_ALIVE_INTERVAL, TCP_KEEP_ALIVE_PROBES,TCP_KEEP_ALIVE_TIME);
Changing the value of NX_TCP_KEEPALIVE_INITIAL, NX_TCP_KEEPALIVE_RETRIES, and NX_TCP_KEEPALIVE_RETRY in nx_TCP. h and nx_user.h does not work. Make sure #define NX_ENABLE_TCP_KEEPALIVE is defined
hello:
从描述看,现在tcp的功能是正常的,但是keepalive调用api后无法确认是否生效,是这个意思吗?