Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
micropython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
xpstem
micropython
Commits
e1f495a4
Commit
e1f495a4
authored
Jan 03, 2017
by
Max
Committed by
Damien George
Jan 04, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
docs/esp8266/tutorial: Close socket after reading page content.
parent
3c84197f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
docs/esp8266/tutorial/network_tcp.rst
docs/esp8266/tutorial/network_tcp.rst
+1
-0
No files found.
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
Markdown
is supported
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