Seeing large amounts of data on udp recv-q, only sending 1 byte of data
- From: "ssussman@xxxxxxxxxxxxxxxxxxx" <scott@xxxxxxxxxxx>
- Date: 24 May 2007 13:38:43 -0700
Hi all,
I have 2 simple little apps, running on 2 different dell 1950's both
running 2.6.18 debian linux kernel. The first app sends a user defined
size of data on a udp socket and the other app recvs it. The strange
thing I am seeing is that on the receive side if I comment out the
actual recvfrom and let that 1 packet sit in the recv-q buffer the
netstat screen shows a total of 272 bytes on the queue. When I
reenable the recvfrom and dump how much data i received from the call
it matches what I requested to be sent. I also put up a sniffer on the
recv side and the udp packet there had just the data I sent. So where
is this extra data coming from? Has anyone else seen anything like
this before that might have a clue for me.
thanks,
Scott
.
- Follow-Ups:
- Re: Seeing large amounts of data on udp recv-q, only sending 1 byte of data
- From: David Schwartz
- Re: Seeing large amounts of data on udp recv-q, only sending 1 byte of data
- Prev by Date: Skype Spyware
- Next by Date: Re: Detecting if kernel is ipv6 capable
- Previous by thread: Skype Spyware
- Next by thread: Re: Seeing large amounts of data on udp recv-q, only sending 1 byte of data
- Index(es):
Relevant Pages
|