This repository contains two key projects demonstrating the power of socket programming in Python. It showcases a network bandwidth monitor and a basic client-server application using threading for concurrent connections.
The bandwidth-monitor
directory houses a Python script (bandwidth.py
) that provides real-time network bandwidth monitoring.
pip install -r requirements.txt
- Real-time upload and download speeds
- Graphical representation of network usage (Screenshots in the
ss
folder)
Ensure you have Python installed on your system. Then run the following command in your terminal:
python bandwidth-monitor/bandwidth.py
The client-server
directory features a simple implementation of socket-based client and server programs, demonstrating basic network communication.
- Establish a socket connection between a server and multiple clients.
- Utilize threading to manage multiple client connections simultaneously.
Launch the server by executing:
python server.py
Open another terminal window and start the client by running:
python client.py
A Command Line Interface (CLI) chat application built upon the client-server architecture for real-time communication.