Giter Site home page Giter Site logo

redes's Introduction

Redes de Computadores

Tarefa 1 | TCP - Transmission Control Protocol

Implementation of TCP connection with python and socket module.

TCP Socket Basic Diagram intended for this project. Client and server establish connection with handshake, data is sent to and fro the server and the client. Client sends an end message and server closes the connection.

Tarefa 2 | TCP & HTTP

Implementação baseada na Tarefa 1, com servidor que serve arquivos HTML e imagens.

Tarefa 3 | UDP - User Datagram Protocol

Implementação de cliente e servidor UDP. Servidor deve enviar arquivos e separá-los em batches.

Deve-se definir o tamanho do buffer do servidor e do cliente.

Servidor deve ter checksum.

Cliente deve ser capaz de descartar partes do arquivo, para simular perda de dados e testar mecanismo de recuperação de dados. Cliente deve receber, montar e conferir o checksum do arquivo recebido do servidor.

redes's People

Contributors

taniomi avatar

Watchers

 avatar

redes's Issues

[Tarefa 3] Error receiving file in client

Outputs from client:

[SEND] Enter message to send (or "exit" to quit): FILE docs/joke.txt
[FILE] Receiving file: joke.txt
[ERROR] Error while receiving file: write() argument must be str, not bytes
[SEND] Enter message to send (or "exit" to quit): FILE docs/joke.txt
[ERROR] Error: not enough values to unpack (expected 2, got 1)

Prob issue with function receive_file()

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.