Skip to content

sgilz/socket-service

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

socket-server-client-service

This is a server/client service programmed with socket in python for understanding bases of TCP/IP.

How to run this projects


  1. Create a python virtual environment.
python3 -m venv <env_path>
  1. Activate the privious created virtual env.
source <env_path>/bin/activate
  1. Clone this repo and go to its directory:
git clone <repo_url>
cd <repo_root_dir>
  1. Add the project to your virtual env python path and install requirements.
pip3 install -e . #Do not dismiss the dot (.)
  1. Go to the server directory and run it.

    Note: if buckets_root_dir is not given, the default directory is buckets.

cd server
python3 server.py [buckets_root_dir]
  1. From another terminal, go to the client directory and run it.

    Note: Make sure to have the python virtual env activated.

cd client
python3 client.py

Author

About

This is a server/client service with socket programmed in python for understanding bases of TCP/IP.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages