Answer the question
In order to leave comments, you need to log in
Why doesn't socket.getaddrinfo work in micropython (esp8266) but does in python string?
This code does not work on esp8266, but works in normal python:
>>> addr = socket.getaddrinfo('smart-socket-bdcc5.firebaseio.com', 443)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
OSError: -2
socket.getaddrinfo("towel.blinkenlights.nl", 23)
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question