LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   libpcap programming (https://www.linuxquestions.org/questions/linux-newbie-8/libpcap-programming-696356/)

Neminath 01-10-2009 01:41 PM

libpcap programming
 
i am trying to write a small piece of code to capture some features from tcpdump files. I have done most part of that, but could not be able to find the duration of a tcp session. does anyone know how it can be done.

Neminath

chakka.lokesh 01-10-2009 11:11 PM

tcpdump prints the time also along with the packet dump. so you can calculate from that time values.

Neminath 01-11-2009 12:15 AM

i got the answer

thank you


All times are GMT -5. The time now is 07:36 PM.