Skip to content
Discussion options

You must be logged in to vote

Please try:

>>> import socket
>>> addr = socket.getaddrinfo('0.0.0.0', 80)[0][-1]
>>> s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
>>> s.bind(addr)

Replies: 4 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by ziGuy
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
ESP32
Labels
None yet
2 participants