vijendra1125 / Python-Socket-Programming

Socket programming in python

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Python Socket Programming

drawing

About

A sample socket programming in python using low level networking interface module socket.

Features

You will find follwing on top of vanilla implementation you find in any first tutorial link you get from googling:

  • Allowing communication with trusted client only, check using first received message from client as key message
  • Multithreading to handle multiple clients
  • Use of pickel to serialize any type of data
  • Handling of variable length data by passing payload size along with payload
  • Passing data identifier with payload as additional information to take specific action accordingly (eg. if data identifier is image then save payload as image)
  • Using keyboard interrupt to close client and server cleanly

Notes

  • Program is wrtten in python 3.7.4

*** Feel free to request more feature you would like, i wil try to add it when i get time ***

About

Socket programming in python

License:MIT License


Languages

Language:Python 100.0%