I\'m trying to create a sniffer between a beagleboard and rs232 serial device, but i need it to "sniff" the data and somehow duplicated the streams to a socket.