diff options
author | Damien George <damien.p.george@gmail.com> | 2017-06-20 16:52:39 +1000 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2017-06-20 16:52:39 +1000 |
commit | 1686346d53051d77daa662f7cc85614cc4ada06a (patch) | |
tree | 92f324d35bf9e46d7754600e58724dcbc4aa05b3 /py/objsingleton.c | |
parent | 101fc187f009b8af74467f880e544f466881e853 (diff) | |
download | micropython-1686346d53051d77daa662f7cc85614cc4ada06a.tar.gz micropython-1686346d53051d77daa662f7cc85614cc4ada06a.zip |
cc3200: Make non-zero socket timeout work with connect/accept/send.
The CC3100 only allows to set a timeout for receiving data, not for accept,
connect or send. But it can set non-blocking for all these operations and
this patch uses that feature to implement socket timeout in terms of non-
blocking behaviour combined with a loop.
Diffstat (limited to 'py/objsingleton.c')
0 files changed, 0 insertions, 0 deletions