summaryrefslogtreecommitdiffstatshomepage
path: root/py/objsingleton.c
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2017-06-20 16:52:39 +1000
committerDamien George <damien.p.george@gmail.com>2017-06-20 16:52:39 +1000
commit1686346d53051d77daa662f7cc85614cc4ada06a (patch)
tree92f324d35bf9e46d7754600e58724dcbc4aa05b3 /py/objsingleton.c
parent101fc187f009b8af74467f880e544f466881e853 (diff)
downloadmicropython-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