About 37 results
https://rednafi.com/python/server-sent-events/ · 8 Apr 2023
Stream real-time server updates to web clients using Server-Sent Events (SSE) as a simpler alternative to WebSockets for unidirectional data flow.
https://rednafi.com/misc/tinkering-with-unix-domain-socket/ · 11 Mar 2023
Build Unix domain socket servers and clients with Python and socat. Access Docker API via UDS, create HTTP servers, and optimize inter-process communication.
https://rednafi.com/python/multithreaded-socket-server-signal-handling/ · 26 Feb 2023
Gracefully shutdown Python's ThreadingTCPServer with signal handlers for SIGINT, SIGTERM handling and client notification on server shutdown.
https://rednafi.com/python/pause-and-resume-a-socket-server/ · 5 Feb 2023
Build a pausable socket server with Python's socketserver module using threading for intermittent request handling and background tasks.
https://marko.tech/journal/using-nmap · 11 Aug 2022
Nmap (Network mapper) is a dope open-source tool for seeing what's going on networks and how security is looking.
https://rednafi.com/python/stream-process-a-csv-file/ · 1 Jul 2022
Process large CSV files without OOM errors by streaming content line-by-line with HTTPX and concurrent.futures for parallel processing.
https://hacdias.com/2020/11/30/access-network-behind-cgnat/ · 30 Nov 2020
I recently moved from the place where I was staying at to my own studio. In addition, since I was building a computer, I wanted to be able to access remotely to its capabitities, as well as any other device I have at home. Thus, I thought: let's set up a V...