mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-08 12:10:59 +00:00
Modify esp-tls and tcp_transport to support keep alive for tcp and ssl connection
Closes IDFGH-4543
This commit is contained in:
@@ -21,6 +21,15 @@
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/**
|
||||
* @brief Set TCP keep-alive configuration
|
||||
*
|
||||
* @param[in] t The transport handle
|
||||
* @param[in] keep_alive_cfg The keep-alive config
|
||||
*
|
||||
*/
|
||||
void esp_transport_tcp_set_keep_alive(esp_transport_handle_t t, esp_transport_keep_alive_t *keep_alive_cfg);
|
||||
|
||||
/**
|
||||
* @brief Create TCP transport, the transport handle must be release esp_transport_destroy callback
|
||||
*
|
||||
|
Reference in New Issue
Block a user