[lkml]   [1999]   [Jun]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Subjectgetting size of data in socket buffer

To report precisely how much data is/are transferred, my program
needs to know how much data is buffered on tcp socket. Currently I'm
using TIOCOUTQ ioctl, but SNDBUF-OUTQ does not exactly equal to amount
of data buffered.

Is it possible to add an ioctl to get this very information? Is there
such thing in other operating systems?


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:52    [from the cache]
©2003-2011 Jasper Spaans