Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
TASTE
uPython-mirror
Commits
63068875
Commit
63068875
authored
Apr 26, 2017
by
Paul Sokolovsky
Browse files
zephyr/modusocket: Enable stream write() method.
parent
0e177e06
Changes
1
Hide whitespace changes
Inline
Side-by-side
zephyr/modusocket.c
View file @
63068875
...
...
@@ -449,6 +449,8 @@ STATIC const mp_map_elem_t socket_locals_dict_table[] = {
{
MP_OBJ_NEW_QSTR
(
MP_QSTR_accept
),
(
mp_obj_t
)
&
socket_accept_obj
},
{
MP_OBJ_NEW_QSTR
(
MP_QSTR_send
),
(
mp_obj_t
)
&
socket_send_obj
},
{
MP_OBJ_NEW_QSTR
(
MP_QSTR_recv
),
(
mp_obj_t
)
&
socket_recv_obj
},
{
MP_OBJ_NEW_QSTR
(
MP_QSTR_write
),
(
mp_obj_t
)
&
mp_stream_write_obj
},
};
STATIC
MP_DEFINE_CONST_DICT
(
socket_locals_dict
,
socket_locals_dict_table
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment