EduardNiesner opened a new issue, #13493: URL: https://github.com/apache/nuttx/issues/13493
### Description We are using Nuttx 12.6 and STM32H743II MCU for our application and we are trying to configure the KeepAlive feature. We configured TCP_KEEPIDLE=3000 ms, TCP_KEEPINTVL=5000ms and the parameters seems to not take efect, to validate the keep alive feature, we monitored the network using WireShark and the keep alive probes are not sent at the configured interval. We added some printf statements in the nuttx/net/tcp/tcp_timer.c at near line 700 to check what are the conn->keeptimer and hsec values at runtime. The following observations are made: conn->keeptimer=72000 and hsec=3. The conn->keeptimer value is set by default in the nuttx/net/tcp/tcp_conn.c at line 788, and it cannot be changed by a call to setsockopt. Is there any other way to change the values? Any help is appreciated! ### Verification - [X] I have verified before submitting the report. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
