No can do. There are better tools to do that. tshark, wireshark and all other variants can do that for you.