X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-4.6 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,KHOP_RCVD_TRUST,KHOP_THREADED,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE X-Spam-Check-By: sourceware.org MIME-Version: 1.0 X-Received: by 10.52.38.234 with SMTP id j10mr146187vdk.0.1362703589362; Thu, 07 Mar 2013 16:46:29 -0800 (PST) In-Reply-To: <20130307143712.GA12359@calimero.vinschen.de> References: <20130304093836 DOT GB5468 AT calimero DOT vinschen DOT de> <20130307143712 DOT GA12359 AT calimero DOT vinschen DOT de> Date: Fri, 8 Mar 2013 09:46:29 +0900 Message-ID: Subject: Re: Unix domain accept() and getperrname() doesn't return the client address. From: Tanaka Akira To: cygwin AT cygwin DOT com Content-Type: text/plain; charset=ISO-8859-1 X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com 2013/3/7 Corinna Vinschen: > Not really, no. This is another "nobody asked for it yet", but I think > that's a bug. I'll have a look to fix that for 1.7.18. But the above > restriction will apply. If we have no peer address, you get a > sockaddr_un with empty path. If a Unix domain datagram server don't get an address of client, the server cannot send a reply. I think this means Unix domain datagram socket will be much less useful. -- Tanaka Akira -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple