Skip to content

Commit 028157e

Browse files
Singh Vijendra (BEG/EOR2)Singh Vijendra (BEG/EOR2)
authored andcommitted
linting
1 parent 224fa8c commit 028157e

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

README.md

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,37 @@
11
# Python Socket Programming
2+
23
<p align="center">
34
<img src="./client_data/sample_image.png" alt="drawing" width="512"/>
45
</p>
56

67
## About
8+
79
A sample socket programming in python using low level networking interface module [socket](https://docs.python.org/3.3/library/socket.html).
810

911
## Instructions
12+
1013
* Create conda environment with required dependedncies by running:
14+
1115
```bash
1216
conda create --name socket_prog --file conda_env_export.yml
1317
```
18+
1419
* Run server first and then client.
1520
* To close connection, give keyboard interrupt to client, server will close automatically.
1621

1722
## Features
23+
1824
You will find follwing on top of vanilla implementation you find in any first tutorial link you get from googling:
25+
1926
* Allowing communication with trusted client only, check using first received message from client as key message
2027
* Multithreading to handle multiple clients
21-
* Use of pickel to serialize any type of data
28+
* Use of pickel to serialize any type of data
2229
* Handling of variable length data by passing payload size along with payload
2330
* Passing data identifier with payload as additional information to take specific action accordingly (eg. if data identifier is image then save payload as image)
2431
* Using keyboard interrupt to close client and server cleanly
2532

2633
## Notes
27-
* Program is wrtten in python 3.7.4
2834

35+
* Program is wrtten in python 3.7.4
2936

30-
> *** Feel free to request more feature you would like, i wil try to add it when i get time ***
31-
37+
> ***Feel free to request more feature you would like, i wil try to add it when i get time***

0 commit comments

Comments
 (0)