Change host

This commit is contained in:
t 2023-10-21 18:26:02 +03:00
parent 56ef5d23ec
commit c201993bec

View File

@ -2,8 +2,6 @@ mode = 0 # CHANGE ME
# 0 - client mode
# 1 - server mode
#port = 14618
import socket
from os import system as ss
from random import randint
@ -110,9 +108,8 @@ def client():
from requests import get
host = 'bore.pub'
#file = get('https://gitlab.com/justuser31/p2p_justuser/-/raw/main/list_server.info')
#port = int(file.content)
port = 28938
file = get('https://gitea.gulyaipole.fun/justuser/p2p_justuser/raw/branch/main/list_server.info')
port = int(file.content)
client_socket = socket.socket()
client_socket.connect((host, port))