Skip to content
Snippets Groups Projects
Commit a28e6fb5 authored by Fernando Erd's avatar Fernando Erd :ok_hand:
Browse files

each machine have your id

parent b4e81273
Branches
No related tags found
No related merge requests found
......@@ -39,7 +39,6 @@ global HighPriority
StartTime = 0
HighPriority = 10
TOKEN = 0
MACHINE_ID = 1
SEND_PORT = 3131 # Porta que o Servidor envia
RECV_PORT = 3131 # Porta que o Servidor recebe
......@@ -192,7 +191,8 @@ if len(sys.argv) > 1:
TOKEN = 1
print 'COMECEI COM O TOKEN'
StartTime = time.time()
print 'ID Dessa maquina, escolha entre 1 e 4'
MACHINE_ID = raw_input ()
print "Ip da proxima maquina"
HOST = raw_input()
threadServer = threading.Thread(target=server)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment