mirror of
https://github.com/PotentiaRobotics/engine-software.git
synced 2025-04-17 18:40:18 -04:00
Setting hostname to empty makes it work???
This commit is contained in:
parent
af8308cc53
commit
ba534ad8ac
|
@ -7,7 +7,7 @@ import time
|
||||||
ser = serial.Serial('/dev/ttyACM0', 9600, timeout=2)
|
ser = serial.Serial('/dev/ttyACM0', 9600, timeout=2)
|
||||||
ser.flush()
|
ser.flush()
|
||||||
|
|
||||||
host = '0.0.0.0'
|
host = ''
|
||||||
port = 2345
|
port = 2345
|
||||||
s = socket.socket()
|
s = socket.socket()
|
||||||
s.bind((host, port))
|
s.bind((host, port))
|
||||||
|
|
Loading…
Reference in New Issue
Block a user