Update IP address

video
Cole Deck 5 years ago
parent 4cd3bfc514
commit dad1ac9e7a

@ -3,7 +3,7 @@ import sort
import control_motor import control_motor
import control_pixel import control_pixel
host = socket.gethostname() host = 192.168.1.3 # socket.gethostname()
port = 9001 # The same port as used by the server port = 9001 # The same port as used by the server
s = socket.socket(socket.AF_INET, socket.SOCK_STREAM) s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
s.connect((host, port)) s.connect((host, port))

Loading…
Cancel
Save