summaryrefslogtreecommitdiff
path: root/shared-bindings
diff options
context:
space:
mode:
authorLucian Copeland <hierophect@gmail.com>2021-01-12 15:05:28 -0500
committerLucian Copeland <hierophect@gmail.com>2021-01-12 15:05:28 -0500
commit4cdb298a20eced513536f30d3d81990eb9fbceaa (patch)
treea2b5f1df86f025a3b3a7ffafef263a6df70cdcb0 /shared-bindings
parent9a86829d01ec4471a30c820c6f8da979cf9cecf4 (diff)
WIP of non-blocking calls
Diffstat (limited to 'shared-bindings')
-rw-r--r--shared-bindings/socketpool/Socket.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/shared-bindings/socketpool/Socket.c b/shared-bindings/socketpool/Socket.c
index 548514f28..a92e508b6 100644
--- a/shared-bindings/socketpool/Socket.c
+++ b/shared-bindings/socketpool/Socket.c
@@ -213,10 +213,10 @@ STATIC mp_obj_t socketpool_socket_recv_into(size_t n_args, const mp_obj_t *args)
// Bad file number.
mp_raise_OSError(MP_EBADF);
}
- if (!common_hal_socketpool_socket_get_connected(self)) {
- // not connected
- mp_raise_OSError(MP_ENOTCONN);
- }
+ // if (!common_hal_socketpool_socket_get_connected(self)) {
+ // // not connected
+ // mp_raise_OSError(MP_ENOTCONN);
+ // }
mp_buffer_info_t bufinfo;
mp_get_buffer_raise(args[1], &bufinfo, MP_BUFFER_WRITE);
mp_int_t len = bufinfo.len;