Skip to content

Client and Server programs that implement persistent connections and concurrency. Written in Python.

Notifications You must be signed in to change notification settings

frank-chris/Persistent-and-Concurrent-Client-and-Server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Assignment 4

CS 433 - Computer Networks

Folders

Mininet

contains code related to Mininet questions(3 and 4)

TCP

contains TCP scripts for questions 1 and 2

UDP

contains UDP scripts for question 1

Screenshots

contains all screenshots used in the report

Files

.txt files in Mininet/server, TCP/server and UDP/server

These are the txt files available on the server(the 5 books).

Mininet/TCPclient_mn.py

Non-persistent TCP client used for Mininet questions

Mininet/3e_and_3f.py

Python script for questions 3e) and 3f).

Mininet/3j.py

Python script for question 3j)

Mininet/4.py

Python script for question 4

Mininet/server/TCPserver_thread_mn.py

Thread model server used for Mininet questions

TCP/run_multiple_clients.sh

Shell script to start 5 non-persistent clients at the same time for question 2d)

TCP/TCPclient_persistent.py

Persistent TCP client

TCP/TCPclient.py

Non-persistent TCP client

TCP/server/TCPserver_persistent.py

Persistent TCP server

TCP/server/TCPserver.py

Non-persistent TCP server

TCP/server/TCPserver_fork.py

Fork model TCP server

TCP/server/TCPserver_thread.py

Thread model TCP server

UDP/UDPclient_persistent.py

Persistent UDP client

UDP/UDPclient.py

Non-persistent UDP client

UDP/server/UDPserver_persistent.py

Persistent UDP server

UDP/server/UDPserver.py

Non-persistent UDP server

18110041_Assignment_4_report.pdf

Assignment report

How to run

Instructions on how to run the scripts for each question are provided in the report(18110041_Assignment_4_report.pdf) and is also mentioned in each python script itself. Most scripts also print the correct usage if you use it incorrectly.

Note: Make sure Mininet Python package is installed.

Releases

No releases published

Packages

No packages published