diff options
author | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2017-06-04 12:30:41 +0300 |
---|---|---|
committer | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2017-06-04 12:30:41 +0300 |
commit | 5da8de2b66d3f43107e1e745afa9bb6a4bf601eb (patch) | |
tree | d981fc5239deb6e6fe841d9add2c69530b5b0299 /tests/basics/class_delattr_setattr.py | |
parent | a0dbbbebb8c0286e00ae06751b0173cbca4ec801 (diff) | |
download | micropython-5da8de2b66d3f43107e1e745afa9bb6a4bf601eb.tar.gz micropython-5da8de2b66d3f43107e1e745afa9bb6a4bf601eb.zip |
extmod/modlwip: Fix error codes for duplicate calls to connect().
If socket is already connected, POSIX requires returning EISCONN. If
connection was requested, but not yet complete (for non-blocking
socket), error code is EALREADY.
http://pubs.opengroup.org/onlinepubs/7908799/xns/connect.html
Diffstat (limited to 'tests/basics/class_delattr_setattr.py')
0 files changed, 0 insertions, 0 deletions