wireshark使用:
http://wenku.baidu.com/link?url=jIT43RWZbHissG70TK_hqVKRO6KWNZ4nK9RfncaFA5p-mrmjxsNd2aIapcKTtDDAjG0mddEKiLtwbqpu3Z12bXStDiDevZUGWTPxop4mKhG
wireshark开源代码相关:
http://blog.csdn.net/zx824/article/details/7207713