I can’t find any information about making a tcp/ip packet logger in a book. can someone point me in right direction or a book reference would be helpful.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
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.