Setting hostname to empty makes it work???

This commit is contained in:
Vrishak Vemuri 2023-01-14 15:27:55 -05:00 committed by GitHub
parent af8308cc53
commit ba534ad8ac
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -7,7 +7,7 @@ import time
ser = serial.Serial('/dev/ttyACM0', 9600, timeout=2)
ser.flush()
host = '0.0.0.0'
host = ''
port = 2345
s = socket.socket()
s.bind((host, port))