delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2013/03/07/19:46:47

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: <CANjopZEy2_yzpPpmxFtqBC_jhHNPyh7MHdeCY-QrizRoYM1_7Q AT mail DOT gmail DOT com> <20130304093836 DOT GB5468 AT calimero DOT vinschen DOT de> <CANjopZHUZ-Azy+n5P1ZkNJuTb3c3zfj93bGz-pHfWra2aXTfRA AT mail DOT gmail DOT com> <20130307143712 DOT GA12359 AT calimero DOT vinschen DOT de>
Date: Fri, 8 Mar 2013 09:46:29 +0900
Message-ID: <CANjopZG9AiJUJ-8ax5_T=_VFHqHLVSA=2cGwYEH2d10LqEc7Vg@mail.gmail.com>
Subject: Re: Unix domain accept() and getperrname() doesn't return the client address.
From: Tanaka Akira <akr AT fsij DOT org>
To: cygwin AT cygwin DOT com
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019