Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 01-10-2009, 02:41 PM   #1
LQ Newbie
Registered: Jan 2009
Posts: 13

Rep: Reputation: 1
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.

Old 01-11-2009, 12:11 AM   #2
Registered: Mar 2008
Distribution: Ubuntu
Posts: 245

Rep: Reputation: 32
tcpdump prints the time also along with the packet dump. so you can calculate from that time values.
Old 01-11-2009, 01:15 AM   #3
LQ Newbie
Registered: Jan 2009
Posts: 13

Original Poster
Rep: Reputation: 1
i got the answer

thank you


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
libpcap programming problem tanmoy_tiger Programming 6 11-12-2013 01:44 AM
libpcap programming tanmoy_tiger Linux - Newbie 1 06-25-2008 12:20 AM
libpcap thealphajustin Linux - Newbie 2 09-22-2006 05:52 PM
Two questions about libpcap. smn Programming 2 11-19-2003 07:02 PM
libpcap oulevon Linux - General 1 09-25-2001 10:06 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:06 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration