Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 Nov 2009 13:31:32 -0600
From:      Ryan Sommers <>
Subject:   RecvQ Size from fd?
Message-ID:  <>

Next in thread | Raw E-Mail | Index | Archive | Help
Is it possible to get the amount of data in the receive queue from a
socket file descriptor (userland app)? I see that netstat gets a list
of struct socket* and from there you can find the answer from the
so_rcv sockbuf. But I can't find a way to match a socket fd up to the
struct sock.


Ryan P Sommers

Want to link to this message? Use this URL: <>