↧
Python + Twisted Length-Type-Based Protocol Client / Server
It seems like I often have a need to work with a simple TCP protocol whose messages have a header which starts with the length of the message and an integer representing the message type (OpenFlow is...
View ArticleIntegrating Twisted with a pcap-based Python packet sniffer
Twisted is an awesome event-driven networking engine. Unfortunately, it does not have good support for interfacing with raw sockets (unlike its support for many network protocols, which is amazing)....
View Article