Possible to use espconn_set_keepalive?
Posted: Thu Aug 27, 2015 12:09 am
I'm working on a project that requires that I hold a TCP connection open with my server for (ideally) as long as possible. I think I need to use espconn_set_keepalive, but I can't figure out how to get the espconn struct to pass to the SDK function.
Do I need to set up my TCP connection manually, or is there a way to get the espconn struct from the WifiClient object?
Do I need to set up my TCP connection manually, or is there a way to get the espconn struct from the WifiClient object?