lkml.org 
[lkml]   [1999]   [Jun]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subjectgetting size of data in socket buffer
Hi!

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?

Alexander.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:52    [W:0.021 / U:1.916 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site