I'd like to read and log the data that is sent by or to me during a TCP session (e.g. by reading the tcp buffer or listening on ports that are used by another application). Does anyone know how I can do this?