开发者

TCP Incoming packet logger

开发者 https://www.devze.com 2023-01-26 21:16 出处:网络
I can\'t find any information about making a tcp/ip packet logger in a book. can someone point me i开发者_JS百科n right direction or a book reference would be helpful.If you simply need a program to l

I can't find any information about making a tcp/ip packet logger in a book. can someone point me i开发者_JS百科n right direction or a book reference would be helpful.


If you simply need a program to log tcp packets, have a look at Wireshark. If you actually want to write your own logger, you can use the libpcap library. It is implemented in C and there are lots of tutorials / examples on the website. If you working in windows, you should have a look at WinPcap. Here is a nice easy tutorial for libpcap.

0

精彩评论

暂无评论...
验证码 换一张
取 消