template, fixes

This commit is contained in:
Pascal Engélibert 2024-02-17 18:05:21 +01:00
commit ac045c3e0e
7 changed files with 238 additions and 37 deletions

10
demo2.py Normal file
View file

@ -0,0 +1,10 @@
import network, sys, time
sock = network.Sock()
address = ("0.0.0.0", 33077)
sock.listen(address)
while True:
for d, a in sock.get():
print(a, d)
time.sleep(0.1)