summaryrefslogtreecommitdiffstatshomepage
path: root/esp8266
diff options
context:
space:
mode:
authorPaul Sokolovsky <pfalcon@users.sourceforge.net>2016-03-25 18:38:13 +0200
committerPaul Sokolovsky <pfalcon@users.sourceforge.net>2016-03-25 18:38:13 +0200
commitde0c84ebf1e18a5de4e1adb39cf33499b66d27b4 (patch)
tree7550d26745fbb9cef372876ba7439732175f98ec /esp8266
parent5e75f335e6df01cddfc2cd8db24d5807e73c13a6 (diff)
downloadmicropython-de0c84ebf1e18a5de4e1adb39cf33499b66d27b4.tar.gz
micropython-de0c84ebf1e18a5de4e1adb39cf33499b66d27b4.zip
extmod/modlwip: lwip_tcp_send: Handle properly send buffer full condition.
Per POSIX http://pubs.opengroup.org/onlinepubs/9699919799/functions/send.html : "If space is not available at the sending socket to hold the message to be transmitted, and the socket file descriptor does not have O_NONBLOCK set, send() shall block until space is available. If space is not available at the sending socket to hold the message to be transmitted, and the socket file descriptor does have O_NONBLOCK set, send() shall fail [with EAGAIN]."
Diffstat (limited to 'esp8266')
0 files changed, 0 insertions, 0 deletions