Quantcast
Channel: Planet Python
Viewing all articles
Browse latest Browse all 22465

"Morphex's Blogologue": An SSL TCP client/server implementation in Python

$
0
0
Related to work I found myself needing a solution to pass messages, so I started working on something simple, just to get the basics down.

I started out with the idea of doing it over HTTPS, but after a bit, I decided to go for a more minimalistic solution, using just TCP over SSL.

I've implemented a simple example of how to implement an SSL protected client/server message passing solution in Python 3.9. I googled a bit, and couldn't find a good, solid, simple example, so I figured the first iteration of the Simple Message Passing System could serve as an example, for others as well.

The committed state of the files [edit: for that first iteration are] here:

https://github.com/morphex/smps/tree/5e519cbbdf254c09ae3fe4d...



Viewing all articles
Browse latest Browse all 22465

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>