Comment 193 for bug 405294

Revision history for this message
In , Kalyanov Dmitry (kalyanov-dmitry) wrote :

I've recently found out that there exists SIOCOUTQ ioctl which supposedly should work on bluetooth sockets (I haven't verified this).
ioctl(.., SIOCOUTQ, ..) returns amount of bytes in send buffer.
Using it should be more reliable way than simply reducing buffer size.