Change client ip to 127.0.0.1 to be universal

This commit is contained in:
CactiChameleon9 2020-12-10 07:58:48 +00:00
parent e4e59d127a
commit a0010092ff
3 changed files with 3 additions and 3 deletions

View File

@ -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

View File

@ -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 = 10003
# receive 4096 bytes each time
BUFFER_SIZE = 128

View File

@ -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