How can I monitor the activity of a TCP/IP socket. I want to be able to tell whether or not the port has been used in the last x seconds.