Monitoring raw TCP data

Alex alex at somewhere.round.here
Thu Mar 9 01:28:47 CET 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