Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 Nov 2007 00:00:35 +0000
From:      Bruce Cran <bruce@cran.org.uk>
To:        Derek Ragona <derek@computinginnovations.com>
Cc:        User Questions <freebsd-questions@freebsd.org>, Andrew Falanga <af300wsm@gmail.com>
Subject:   Re: Socket programming question
Message-ID:  <473B8C23.3000305@cran.org.uk>
In-Reply-To: <6.0.0.22.2.20071114165954.024c5d90@mail.computinginnovations.com>
References:  <340a29540711141421tda33970q79f85533fb5ba725@mail.gmail.com> <6.0.0.22.2.20071114165954.024c5d90@mail.computinginnovations.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?473B8C23.3000305>