Change client ip to 127.0.0.1 to be universal
This commit is contained in:
@ -9,7 +9,7 @@ import time
|
||||
mouse=Controller()
|
||||
|
||||
# device's IP address
|
||||
SERVER_HOST = "192.168.1.8" #(socket.gethostbyname(socket.gethostname()))
|
||||
SERVER_HOST = "127.0.0.1" #(socket.gethostbyname(socket.gethostname()))
|
||||
SERVER_PORT = 10002
|
||||
# receive 4096 bytes each time
|
||||
BUFFER_SIZE = 128
|
||||
|
Reference in New Issue
Block a user