Fix ESP8266 Network tutorial

The socket should either connect to `addr` or `addr_info[0][-1]`. Not to `addr[0][-1]`.
pull/2047/head
Paulus Schoutsen 2016-05-07 23:24:24 -07:00
rodzic 9e47c145c7
commit c156e89379
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -36,7 +36,7 @@ information they hold.
Using the IP address we can make a socket and connect to the server::
>>> s = socket.socket()
>>> s.connect(addr[0][-1])
>>> s.connect(addr)
Now that we are connected we can download and display the data::