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.

Thanks,
Ryan

-- 
Ryan P Sommers
ry...@rpsommers.com
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

Reply via email to