i'm capturing network packets( a transport stream) along with its arrival time using winpcap library. But I'm facing some issues.Whenever I play audio on my machine or copy a large file from network, the timing information of my captured packets gets distorted.Some packets timestamp are very close to each other while others are a bit far.Is there any solution (software/hardware) to rectify this.I need accurate timestamping of network packets.
capturing network packets with accurate timestamp
1.2k Views Asked by Ashish At
1
There are 1 best solutions below
Related Questions in VISUAL-C++
- I want to be able to use 4 different variables in a select statement in c ++
- llvm headers do not compile under msvc 2013
- VC++ .net: Functionality from managed DLL is not exported
- Add a picture to Picture Control in a dialog box (error RC2108: expected numerical dialog constant)
- Within a .vcxproj file what are the possible values for the <ConfigurationType> and what do those values mean?
- converting string to a double in visual c++ by parsing
- How to integrate opencv C++ codings with windows application?
- Create string with ESC characters
- What does the thing between "class" and the class name in VC++ mean?
- How to assign (Root)Folder ID in C++? Wherein, those files and folder under it would have the same ID as the RootFolder
- How to convert CString to long? VC++
- How to initialize a String^ *
- How to correctly implement methods of a class returning "this" in Managed C++?
- Non-managed referenced code strangely, "magically" changes its state for no reason when wrapped in managed
- Windows application using libusb: runtime error due to mutex lock
Related Questions in NETWORK-PROGRAMMING
- Packet drops in multicast when multiple instance of listner are running
- Get packet that's being routed
- Timing packets on a traffic server
- SNMP :snmpwalk response from NAS timeout issue
- Send Http request at specific time
- Swift - Get device's WIFI IP Address
- Construct and label a uniform graph in NetworkX using dictionaries?
- Diffie Hellman with authentication
- traversing a graph in spark-graphx via edge properties
- Setting proxy for java application
- Java sending handshake packets to minecraft server
- How to use different network interface for signaling & media in WebRTC app?
- Is it guaranteed that an RST packet will be sent when a process terminates?
- Does a process waiting on a network response take cpu/ram resources?
- Python socket stays blocked on socket.recv() when client expects data
Related Questions in PACKET-CAPTURE
- kernel module does not print packet info
- filter packet data based on the type of content they carry
- Why I'm not seeing wireless data requests
- Unrelated packets in TCP communication capturing results
- Winpcap code - Capture loses packets in loop
- What's the best way to capture packets sent and received by my own android app?
- Trying to understand packets captured with tcpdump
- C Program to receive and send the same packets out over another interface
- Python Scapy Intercept Packets before sending them on
- Modifying TCP packets on the fly
- How can I merge 'split/partial' packets with libpcap?
- Decoding ARP packets using jnetpcap library
- scapy - http header list over wlan
- Get TCP Flags with Scapy
- How to get the data from TcpPacket in a readable format using SharpPcap?
Related Questions in HARDWARE-INTERFACE
- Beaglebone black not working
- C to Fpga error with LCD under Altera DE2-70 board
- How can I control a PANIC button on Android?
- PC hardware port access from Java on Linux
- Tutorial for Printer Port Coding
- How to read data from an external hardware device using vb.net?
- What is the simplest way to connect a device to an iPad from an application?
- How does software interact with hardware at the lowest level?
- Writing to I/O Port Controller driver (inpout) (PS/2 Keyboard port) Left and Right keyboard keypresses?
- python script instance awareness/communication
- Why writing speed of RAM is coming far less than what is mentioned on it?
- Is there a way to get the raw data from a DVI port?
- How to connect to webcam in Java?
- Verilog HDL, User Input from an FPGA
- capturing network packets with accurate timestamp
Related Questions in TRANSPORT-STREAM
- iOS, how to convert mp4 file into ts (transport stream) without ffmpeg?
- How to render H.264 transport streams into an HTML5 player
- Detecting I-frame data in an MPEG-4 transport stream
- How to run this tsduck shell command containing quotes with subprocess.run in Python
- Extracting AC-3 from MPEG Transport Stream
- Unable to extract KLV data from .mpg file
- Can I use TSDuck's tsp tool for HLS with token-based authentication?
- Get TS packets into buffer from libavformat
- capturing network packets with accurate timestamp
- Can I have a rawvideo stream in a MPEG TS container
- How to stream live TS (transport stream) files on HTML player?
- Writing a file in byte mode and placing a line separator in Python
- Elementary Streams vs Transport Streams in Video Streaming
- Can't write packet with unknown timestamp av_interleaved_write_frame(): Invalid argument
- File type not recognized when using ffprobe with Python
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
You could raise the process priority of the capture application to High using the Task Manager.
But you really need to consider what you are trying to achieve and why. Do you want to know when the packet arrives at the NIC, when it is processed by the kernel, when the kernel places it in the capture program's socket buffer, when the capture program reads it out of its buffer, when the kernel places it in some other programs socket buffer, or when some other program reads it from its socket buffer?
All those time stamps are different, and when the system is under load the differences will necessarily become larger. Timing information from capture program will most likely reflect that time when the capture program read the packet out of its own socket buffer. Increasing the capture application's process priority will make that happen more smoothly, but it will make the handling of packets by any other applications less reliable.