summaryrefslogtreecommitdiff
path: root/docs/esp8266/tutorial/network_tcp.rst
diff options
context:
space:
mode:
authoriabdalkader <i.abdalkader@gmail.com>2023-03-29 20:42:44 +0200
committerDamien George <damien@micropython.org>2023-04-04 15:23:39 +1000
commit3d46fe67bf0bfc848741a76e945b16b2e45e74cb (patch)
tree3fab4354d984631393969e2b5f309ef6372eab3c /docs/esp8266/tutorial/network_tcp.rst
parent9025671e7216d9fd73526a681568f78a330a6414 (diff)
extmod/network_ninaw10: Check socket types when creating new sockets.
The NINA socket types have the same values as modnetwork, but that may change in the future. So check the socket types passed to socket() and convert them (if needed) to their respective Nina socket types. Also remove the unnecessary socket type check code from bind(), as pointed out by @robert-hh.
Diffstat (limited to 'docs/esp8266/tutorial/network_tcp.rst')
0 files changed, 0 insertions, 0 deletions