Skip to content

Conversation

@ViniAC
Copy link
Owner

@ViniAC ViniAC commented Oct 24, 2019

Now it retransmit if it didnt arrive and has a verification of corrupted files.

Para correto funcionamento do código,
é necessário colocar o arquivo a ser enviado na mesma pasta que o executável,
ter o python instalado e alterar na função "Split_file" o nome e a extensão do arquivo a ser enviado.
No executável "client.py" (Atualmente está "teste.txt").
O nome do arquivo que será salvo está localizado na função "Recv_files" do executável "server.py".
Atualmente o destino está configurado como "127.0.0.1" (IP de loopback),
mas pode ser alterado no início dos dois executáveis. "Local" e "dest" no "client.py" e "server_ip" no "server.py".

To work properly its necessary to put the file to be sent in the same directory as the executables,
it´s necessary to have python installed and change in the function "Split_file" the name and extension of the file to be sent.

In client.py on line 80 "f = open("CHANGE THIS.type", "rb")"
In Server.py on line 61 "buffer = open("CHANGE THIS.TYPE", "ab")"

currently in the Server theres a need to change the "server_ip" to the desired Server ip,
on port you can change to whatever you want.

In the Client theres a need to change the "local" to the desired Client ip and the port
On "dest" you can choose the Server ip and the port

Now it retransmit if it didnt arrive and has a verification of corrupted files.
@ghost
Copy link

ghost commented Oct 24, 2019

DeepCode Report (#28c84a)

DeepCode analyzed this pull request.
There is 1 new info report.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants