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