Networking

How to Serialize a Python Dict into a String and Back?

Problem Formulation Given a Python dictionary containing lists and other data structures. You want to store the dictionary in a file or send it over the network in a more efficient form. How to serialize a Python dictionary into a string, and then deserialize the string back to a dictionary data structure? Here’s a rough …

How to Serialize a Python Dict into a String and Back? Read More »

Creating a Port Scanner with Python Networking Sockets

This is in continuation of the first part of Python networking with sockets. In this blog post we will further learn how to use more socket API’s. We will dig deeper into what a networking port is. Then we start implementing a simple port scanner. Finally, we will enhance this port scanner further. For Part …

Creating a Port Scanner with Python Networking Sockets Read More »