Listen on a port and do nothing
I’ve been having some problems with socket connections “stalling” in that it seems to connect fine but does nothing afterwards. I don’t really work with Python much, but it seems like this does the trick in simulating that: