From: Erik Faye-Lund Date: Sun, 10 Oct 2010 19:31:02 GMT Subject: Re: [PATCH v3 11/14] daemon: report connection from root-process Message-ID: In-Reply-To: <201010102058.16773.j6t@kdbg.org> On Sun, Oct 10, 2010 at 8:58 PM, Johannes Sixt wrote: > On Sonntag, 10. Oktober 2010, Erik Faye-Lund wrote: >> Report incoming connections from the process that >> accept() the connection instead of the handling >> process. >> >> This enables "Connection from"-reporting on >> Windows, where getpeername(0, ...) consistently >> fails. > > Is this from the process that you invoke with --serve? then this failure could > be due to Winsockets not being initilized. Did you check that? > I've tried that, and unfortunately it lack of socket initialization does not seem to be the reason :(