]> granicus.if.org Git - esp-idf/commit
Revised tcp_server example.
authorMartinValik <martin.valik@mail.com>
Wed, 12 Jun 2019 08:33:57 +0000 (10:33 +0200)
committerMartin Valik <martin.valik@espressif.com>
Wed, 9 Oct 2019 12:34:28 +0000 (14:34 +0200)
commitb7bfcf3c936ac8eeb3f130abd1dc69436dfeae53
tree2840cad4eee9ce315c6235dbb98099bf49d7b7b0
parentd77a7c23da55fb16d276bc92a67d9b2848fd776c
Revised tcp_server example.
Fixed error caused by unnecessary reopening of listening socket.
Extracted packet retransmit logic to separate function.
Added robust implementation for sending data

Closes https://github.com/espressif/esp-idf/pull/3597
examples/protocols/sockets/tcp_server/main/tcp_server.c