Re: [PATCH v3 11/14] daemon: report connection from root-process
- From
Erik Faye-Lund <kusmabite@gmail.com>
- Date
- Oct 10, 2010, 19:31 UTC
- Message-ID
- <AANLkTinz69u-hh-URqBrpdcrm+84N2BC7Ov4O8xeuW73@mail.gmail.com>
- In-Reply-To
- <201010102058.16773.j6t@kdbg.org>
On Sun, Oct 10, 2010 at 8:58 PM, Johannes Sixt <j6t@kdbg.org> wrote:
Show 12 quoted lines
> 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 :(