maxwolf621 / TCP-WebSocket

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

WebSocket Chat Room & File Transferring

Reference :

  • Tkinter GUI programming by example 
  • 特洛伊木馬病毒程式設計(加強版)
  • Foundations of Python Network Programming

Brief

A Simple project of a GUI chat room.

  • The user can send/download file and do a public/private chat with 3 servers(Download, Chat and Upload Server).
  • Each file will include md5 algorithm encryption before sending

Demo

Development environment

OS : Debian Version 10.4 , Raspberry Pi 4

Design Concept

  1. Thread
  2. File Transfer
    • Each transferring file with headers
      • Each Header may contain some information

        (e.g. File Size, File Name, File Digest ..)

    • Methods to send a file
      • Send a file without splitting into blocks
      • Split file to parts(blocks) if file is too large
  3. GUI interface
    • tkinter
  4. Transferring file will include md5 header
    • Using md5 to check if file have been tampered with

About


Languages

Language:Python 100.0%