Is there a python library which implements a standalone TCP stack?
I can\'t use the usual python socket library because I\'m receiving a stream of packets over a socket
Glancing over Scapy, it looks like it might be able to handle these low-level situations. I haven't used it myself so I can't confirm that it does what you've explained; I've only glanced over the documentation.