change ip to 127.0.0.1

This commit is contained in:
CactiChameleon9 2020-12-10 08:00:26 +00:00
parent a0010092ff
commit bd417edb89

View File

@ -2,7 +2,7 @@ import socket
import os import os
import tqdm import tqdm
# device's IP address # 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 = 5001 SERVER_PORT = 5001
# receive 4096 bytes each time # receive 4096 bytes each time
BUFFER_SIZE = 4096 BUFFER_SIZE = 4096