zephyr/samples/net/echo_server
Andy Ross 96294b79a7 net: tcp: Signal EOF with a NULL buffer in the callback
TCP didn't actually have a way to signal synchronous receipt of a FIN
packet.  Extend the recv_cb API to allow a NULL buf argument with
status==0 (by analogy to Unix's zero-length read) to signal EOF.

Update docs too, and also echo_server which wasn't prepared to handle
this situation.

Change-Id: I7dc08f9e262a81dcad9c670c6471898889f0b05d
Signed-off-by: Andy Ross <andrew.j.ross@intel.com>
2017-01-13 10:29:03 +01:00
..
src net: tcp: Signal EOF with a NULL buffer in the callback 2017-01-13 10:29:03 +01:00
Makefile
prj_arduino_101_cc2520.conf ieee802154: conf: add common log level 2017-01-13 10:29:00 +01:00
prj_arduino_101.conf kernel: remove dependency on CONFIG_NANO_TIMERS/TIMEOUTS 2017-01-08 18:09:52 +00:00
prj_bt.conf kernel: remove dependency on CONFIG_NANO_TIMERS/TIMEOUTS 2017-01-08 18:09:52 +00:00
prj_cc2520.conf ieee802154: conf: add common log level 2017-01-13 10:29:00 +01:00
prj_frdm_k64f_cc2520.conf ieee802154: conf: add common log level 2017-01-13 10:29:00 +01:00
prj_frdm_k64f.conf samples: net: Remove unnecessary eth_ksdk project settings 2017-01-12 09:46:26 -06:00
prj_qemu_802154.conf ieee802154: conf: add common log level 2017-01-13 10:29:00 +01:00
prj_qemu_x86.conf net: Remove NET_SLIP choice from Kconfig 2017-01-13 10:29:02 +01:00
prj_slip.conf net: Remove NET_SLIP choice from Kconfig 2017-01-13 10:29:02 +01:00
testcase.ini