在Mac OS X下也有消息截包的工具,比如:
1.CPA - Cocoa Packet Analyzer
http://www.tastycocoabytes.com/cpa/
2.Wireshark
http://www.wireshark.org/
3. 系统自带的tcpdump
sudo tcpdump -i en0 -s 0 -w DumpFile.dmp
4.Packet Peeper
http://sourceforge.net/projects/packetpeeper/