Socket programming question

Bruce Cran bruce at cran.org.uk
Wed Nov 14 16:00:57 PST 2007


Derek Ragona wrote:
> With internet sockets, these get added to the TCP stack, and their are 
> kernel structures created too I'm sure, but I have no idea how to find 
> those.  Netstat will show sockets in use though.
>

sockstat(1) might also be useful as it shows information about what 
program opened the connection and the file descriptor number of the socket.

--
Bruce



More information about the freebsd-questions mailing list