Monitoring raw TCP data

Alex alex at somewhere.round.here
Wed Mar 8 19:28:47 EST 2000


> Is there any way to see/act on the raw TCP data coming into my
> computer?

You might try the socket module.  The httplib module will have examples
of how to use it, I guess, or try the effbot's python guide.

Also, if you want to monitor lots of ports simultaneously, you might
find the asyncore module helpful.

Alex.



More information about the Python-list mailing list