Subject: Re: getpeereid() or equivalent
To: None <tech-net@NetBSD.org>
From: Matthias Scheler <tron@zhadum.org.uk>
List: tech-net
Date: 07/31/2007 14:44:23
On Mon, Jul 30, 2007 at 02:50:09PM +0200, Arne H. Juul wrote:
> I'm trying to port some code that on FreeBSD uses the getpeereid()
> system call, to get the user and group IDs of a peer connected on a
> UNIX-domain socket.

Is it really only supported for UNIX-domain sockets? Solaris 10 also
supports it for loopback TCP/IP connections.

	Kind regards

-- 
Matthias Scheler                                  http://zhadum.org.uk/