Most of info you need is on the web.  Check out:
  http://jarok.cs.ohiou.edu/software/tcptrace/tcptrace.html

