Re: Remote pid with SOCK_DGRAM local socket

On Fri, May 13, 2011 at 01:29:12PM +0200, Matthias Drochner wrote:
> > I need to get the PID from the remote process when using a SOCK_DGRAM
> > local socket.
> There is the LOCAL_PEEREID sockopt.
unix(2) says it only works with SOCK_STREAM sockets. Experience shows
using it with SOCK_DGRAM results in EINVAL.
--
Emmanuel Dreyfus
manu%netbsd.org@localhost