Subject: Re: SO_PEERNAME
To: Jarommr Dolecek <jdolecek@netbsd.org>
From: Emmanuel Dreyfus <manu@netbsd.org>
List: tech-kern
Date: 08/25/2001 23:59:01
> > 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 will give you the socket file, not the process that opened
it, will it?
Anyway it does not matters, as Matt Thomas said, SCM_CRED should be
used.
--=20
Emmanuel Dreyfus. =20
Vous avez deplac=E9 la souris.=20
Windows NT doit maintenant redemarrer pour valider les modifications.
manu@netbsd.org