[Tutor] listen in on other program's tcp connections

xbmuncher xboxmuncher at gmail.com
Tue Dec 16 07:57:41 CET 2008


On windows XP, I'm running a program that sends TCP connections on port
5039. I'v ran wireshark to determine this. I want to create a simple program
that listens for these connections and intercepts and then turns the data
transferred into a string. From there I'd obviously like my program to act
and manipulate those strings, but for now just spitting out that intercepted
TCP data is good enough.

I was reading up on Twisted. http://twistedmatrix.com/
Can someone get me started on how to do this with twisted framework or
anything else?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20081216/009febea/attachment.htm>


More information about the Tutor mailing list