Subject: Re: SO_PEERNAME
To: =?iso-8859-1?Q?Jarom=EDr_Dolecek?= <jdolecek@netbsd.org>
From: Eric Haszlakiewicz <erh@nimenees.com>
List: tech-kern
Date: 08/25/2001 16:07:41
On Sat, Aug 25, 2001 at 08:03:34PM +0200, Jaromír Dolecek wrote:
> Emmanuel Dreyfus wrote:
> > Linux uses getsockopt to make a few extra informations available to the
> > calling process. This include for example who connected to the other
> > side of a UNIX socket, using the SO_PEERNAME getsockopt argument.
> 
> Is this the same as what getpeername(2) provides, or anything
> different?
	getpeername returns the address of the connected peer, not the credentials.

eric