Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
TASTE
uPython-mirror
Commits
e1f495a4
Commit
e1f495a4
authored
Jan 03, 2017
by
Max
Committed by
Damien George
Jan 04, 2017
Browse files
docs/esp8266/tutorial: Close socket after reading page content.
parent
3c84197f
Changes
1
Hide whitespace changes
Inline
Side-by-side
docs/esp8266/tutorial/network_tcp.rst
View file @
e1f495a4
...
...
@@ -72,6 +72,7 @@ Let's define a function that can download and print a URL::
print(str(data, 'utf8'), end='')
else:
break
s.close()
Make sure that you import the socket module before running this function. Then
you can try::
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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