1 parent 9e47c14 commit c156e89Copy full SHA for c156e89
1 file changed
docs/esp8266/tutorial/network_tcp.rst
@@ -36,7 +36,7 @@ information they hold.
36
Using the IP address we can make a socket and connect to the server::
37
38
>>> s = socket.socket()
39
- >>> s.connect(addr[0][-1])
+ >>> s.connect(addr)
40
41
Now that we are connected we can download and display the data::
42
0 commit comments