in reply to I want to know exactly what comes through a socket

Another non-Perl way is to use a packet snipper like ethereal, it can show you the stream in both directions, in both ascii and hex.
  • Comment on Re: I want to know exactly what comes through a socket