diff --git a/wireless/webserver.py b/wireless/webserver.py index b3ca723..b68f754 100644 --- a/wireless/webserver.py +++ b/wireless/webserver.py @@ -18,6 +18,9 @@ Pico W

Pico W

%s

+ Turn off +
+ Turn on """ @@ -40,10 +43,12 @@ addr = socket.getaddrinfo('0.0.0.0', 80)[0][-1] s = socket.socket() +s.setsockopt(socket.SOL_SOCKET, socket.SO_REUSEADDR, 1) s.bind(addr) s.listen(1) print('listening on', addr) +stateis = "LED is ?" # Listen for connections while True: @@ -77,4 +82,4 @@ except OSError as e: cl.close() - print('connection closed') \ No newline at end of file + print('connection closed') pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy