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> |
||
|---|---|---|
| .. | ||
| src | ||
| Makefile | ||
| prj_arduino_101_cc2520.conf | ||
| prj_arduino_101.conf | ||
| prj_bt.conf | ||
| prj_cc2520.conf | ||
| prj_frdm_k64f_cc2520.conf | ||
| prj_frdm_k64f.conf | ||
| prj_qemu_802154.conf | ||
| prj_qemu_x86.conf | ||
| prj_slip.conf | ||
| testcase.ini | ||