summaryrefslogtreecommitdiffstatshomepage
path: root/examples
diff options
context:
space:
mode:
authorPaul Sokolovsky <pfalcon@users.sourceforge.net>2017-04-14 19:46:27 +0300
committerPaul Sokolovsky <pfalcon@users.sourceforge.net>2017-04-14 19:46:27 +0300
commit209eaec599b8b849dbef45fdb2d8f7138b8b7745 (patch)
treee8e236c19b2f9a86b74c12e0a3b867aaf3c14425 /examples
parent5b8122f2bb037644da953529afe7c3e8b57094e2 (diff)
downloadmicropython-209eaec599b8b849dbef45fdb2d8f7138b8b7745.tar.gz
micropython-209eaec599b8b849dbef45fdb2d8f7138b8b7745.zip
socket_send: Don't send more than MTU allows.
As Zephyr currently doesn't handle MTU itself (ZEP-1998), limit amount of data we send on our side. Also, if we get unsuccessful result from net_nbuf_append(), calculate how much data it has added still. This works around ZEP-1984.
Diffstat (limited to 'examples')
0 files changed, 0 insertions, 0 deletions