I'm trying to develop a program that will listen to a local port and grab all data going through it (this is to monitor some ports). Pretty much like a small packet sniffer. I'm not really sure what I should use to connect to the local port (Net::Telnet, IO::Socket, etc.) and how I would go about gettin all the data going through it (perhaps into strings).
If anyone could please lead me in the right direction, that would be greatly appreciated. Thanks.