Skip to content

ageapps/python_sockets

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Socket Management in python

Some examples of uses of udp and tcp sockets in python.

This includes also a small framework to use sockets in an easy way using a custom protocol. The framework includes 3 main abstractions:

  • protocol: this class defines the way packets are coded and decoded, transmitted and received, independently of the transport protocol (tcp or udp).
  • client: this class is a generic client that handles sending and receiving messages. It can be configured to use udp or tcp.
  • server: this class needs to be developed according to the user needs and transport protocol wanted.

Both client and server classes use the protocol class to be compatible.

Resources

About

Sockets Management Python

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages