Related questions
How to debug packet loss?
I wrote a C++ application (running on Linux) that serves an RTP stream of about 400 kbps. To most destinations this works fine, but some destinations expericence packet loss. The problematic destinations seem to have a slower connection in common, but …
How to set the don't fragment (DF) flag on a socket?
I am trying to set the DF (don't fragment flag) for sending packets using UDP.
Looking at the Richard Steven's book Volume 1 Unix Network Programming; The Sockets Networking API, I am unable to find how to set this.
I suspect …
How can I parse an ethernet packet using libpcap?
I'm using libpcap in C++ for reading packets from pcap files, e.g.:
rc = pcap_next_ex((pcap_t*)handle, &header, (const unsigned char**)packet);
I would like to parse the packets header (without the payload).
For example, how …