GithubHelp home page GithubHelp logo

antimattercorrade / persistent_tcp_mininet Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 5.2 MB

Implementation of persistent TCP connection using python and running in Mininet.

Python 99.72% Shell 0.28%
tcp mininet mininet-topology fork thread network-programming concurrent-server persistent-connection

persistent_tcp_mininet's Introduction

Persistent TCP Transfer over Mininet โญ

Implementation of persistent TCP connection using python. The folders contain persistent TCP clients and servers using thread or fork models for multiple connection requests. The servers and clients are run on mininet using the scripts provided on custom or pre-defined topology of mininet.

Codebase Directory Architecture: ๐Ÿ“

persistent_tcp_mininet
โ”œโ”€ Fork_and_Thread
โ”‚  โ”œโ”€ Client
โ”‚  โ”‚  โ”œโ”€ files_received
โ”‚  โ”‚  โ”œโ”€ run_concurrent.sh
โ”‚  โ”‚  โ”œโ”€ tcp_client.py
โ”‚  โ”‚  โ””โ”€ tcp_client_np.py
โ”‚  โ”œโ”€ novel
โ”‚  โ”‚  โ”œโ”€ Atlas Shrugged.txt
โ”‚  โ”‚  โ”œโ”€ Don Quixote.txt
โ”‚  โ”‚  โ”œโ”€ Shogun.txt
โ”‚  โ”‚  โ”œโ”€ The Stand.txt
โ”‚  โ”‚  โ””โ”€ War and Peace.txt
โ”‚  โ”œโ”€ README.md
โ”‚  โ””โ”€ Server
โ”‚     โ”œโ”€ tcp_server_sc_fork.py
โ”‚     โ””โ”€ tcp_server_sc_thread.py
โ”œโ”€ Mininet_Custom_Topology
โ”‚  โ”œโ”€ client
โ”‚  โ”‚  โ””โ”€ tcp_client.py
โ”‚  โ”œโ”€ mininet_scripts
โ”‚  โ”‚  โ”œโ”€ part_k.py
โ”‚  โ”‚  โ”œโ”€ part_l.py
โ”‚  โ”‚  โ””โ”€ part_m.py
โ”‚  โ”œโ”€ novel
โ”‚  โ”‚  โ”œโ”€ Atlas Shrugged.txt
โ”‚  โ”‚  โ”œโ”€ Don Quixote.txt
โ”‚  โ”‚  โ”œโ”€ Shogun.txt
โ”‚  โ”‚  โ”œโ”€ The Stand.txt
โ”‚  โ”‚  โ””โ”€ War and Peace.txt
โ”‚  โ”œโ”€ README.md
โ”‚  โ””โ”€ server
โ”‚     โ””โ”€ tcp_server_sc_thread.py
โ”œโ”€ Persistent_TCP
โ”‚  โ”œโ”€ Client
โ”‚  โ”‚  โ”œโ”€ files_received
โ”‚  โ”‚  โ””โ”€ tcp_client.py
โ”‚  โ”œโ”€ novel
โ”‚  โ”‚  โ”œโ”€ Atlas Shrugged.txt
โ”‚  โ”‚  โ”œโ”€ Don Quixote.txt
โ”‚  โ”‚  โ”œโ”€ Shogun.txt
โ”‚  โ”‚  โ”œโ”€ The Stand.txt
โ”‚  โ”‚  โ””โ”€ War and Peace.txt
โ”‚  โ”œโ”€ README.md
โ”‚  โ””โ”€ Server
โ”‚     โ””โ”€ tcp_server.py
โ”œโ”€ README.md
โ””โ”€ TCP_Mininet
   โ”œโ”€ client
   โ”‚  โ””โ”€ tcp_client.py
   โ”œโ”€ mininet_scripts
   โ”‚  โ”œโ”€ part_e.py
   โ”‚  โ”œโ”€ part_f.py
   โ”‚  โ”œโ”€ part_g.py
   โ”‚  โ”œโ”€ part_h.py
   โ”‚  โ”œโ”€ part_i.py
   โ”‚  โ””โ”€ part_j.py
   โ”œโ”€ novel
   โ”‚  โ”œโ”€ Atlas Shrugged.txt
   โ”‚  โ”œโ”€ Don Quixote.txt
   โ”‚  โ”œโ”€ Shogun.txt
   โ”‚  โ”œโ”€ The Stand.txt
   โ”‚  โ””โ”€ War and Peace.txt
   โ”œโ”€ README.md
   โ””โ”€ server
      โ””โ”€ tcp_server_sc_thread.py

Features checklist โœ…

โœ… File transfer over Persistent TCP
โœ… Multithreaded Server using forking and threading 
โœ… Multirequest client 
โœ… Mininet scripts for running the servers and clients. 

Instructions to Run ๐Ÿƒ

  • Each folder contains the specific instructions to run the servers and clients.

persistent_tcp_mininet's People

Contributors

antimattercorrade avatar

Watchers

 avatar

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.