From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-lj1-x22b.google.com (mail-lj1-x22b.google.com [IPv6:2a00:1450:4864:20::22b]) by sourceware.org (Postfix) with ESMTPS id DCBCB383E80D for ; Thu, 11 Jun 2020 06:37:23 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org DCBCB383E80D Received: by mail-lj1-x22b.google.com with SMTP id x18so5543379lji.1 for ; Wed, 10 Jun 2020 23:37:23 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:references:in-reply-to:subject:date :message-id:mime-version:content-transfer-encoding:thread-index :content-language; bh=ult9+QBeugXOmzqpn7fOFd8Re0do/c7ALhaMOdwRphU=; b=ldx+P9Es1pwQIUVAL68xjgFBiGMtitocsTKwlZEAcRs/z6mL9qVWM3eZBXJseQRUPF TUq7Cr5mo21afXuKvJkcVl1hVHdkpVeVOb/mJVQMpCWMig0SnMrzC3qumkybc+3b6qXH 28BpEeABuQ/+XwNcbinVNJo+chrI01NqacXeB+FVUL22HsGLGPaE3QlVyjCweIkF7J7x kbjb7sSuepLHpmfJykcSN/WwYRihf06ruKs3S1hO7lSx6I+ocxgcdMx/7VXzJokh9CpD szYHHpAvIlpmLS0jnORMeSEJT3itpJ+seqb/Js2vwVn1RfK7S69S33ryieKEMl9AYLwe W08g== X-Gm-Message-State: AOAM532vOpOuZ5J/I68fRz9lyVbsZnNMvuf8vyZbkj5wYOT3Y8QU0+py +pJS7n+zpBUyQQUNGGxgF14Bi13j X-Google-Smtp-Source: ABdhPJzNVi2TdRdtP5tsUMND03usXUDCQlI3yeSQMpwa8cQ5kUNWr2foMvlopdXG+uG7UEy4W1Iazg== X-Received: by 2002:a2e:3010:: with SMTP id w16mr3570692ljw.8.1591857442209; Wed, 10 Jun 2020 23:37:22 -0700 (PDT) Received: from JOKK (87-249-176-245.ljusnet.se. [87.249.176.245]) by smtp.gmail.com with ESMTPSA id q1sm479546lji.71.2020.06.10.23.37.21 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Wed, 10 Jun 2020 23:37:21 -0700 (PDT) From: To: References: <000301d638db$dced49a0$96c7dce0$@gmail.com> <20200603132320.GH6801@calimero.vinschen.de> In-Reply-To: <20200603132320.GH6801@calimero.vinschen.de> Subject: Sv: AF_UNIX/AF_LOCAL Date: Thu, 11 Jun 2020 08:37:20 +0200 Message-ID: <004101d63fba$c2823b30$4786b190$@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Outlook 16.0 Thread-Index: AQKMIPtXPIsjGwU54GfU1q+yL/x+vAG1tuA9p1mDbjA= Content-Language: en-gb X-Spam-Status: No, score=-3.3 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: cygwin@cygwin.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Jun 2020 06:37:25 -0000 > On Jun 2 14:46, Kristian Ivarsson via Cygwin wrote: > > Hey folks (probably Corinna more specifically) > > > > As far as I know the "unix domain socket implementation" is not really > > complete > > > > We tried it and it didn't work for our purposes (the symptoms were > > UDP-like, i.e. it seemed that some messages were lost along the way > > (or possibly ended up in the wrong order) > > That shouldn't occur because the current AF_UNIX implementation is using > AF_INET sockets under the hood, and it doesn't implement any packet > caching overriding the OS buffers. Maybe the symptoms were explained bad. The real observable symptoms are that the endpoint doesn't get a message once in a while and it, depending on testcase, just "hangs" in a reading block though the other side successfully sends them and in other testcases (where we have a sequence number in the message) msg number X+1 ends up before X (etc) (which is ok with DGRAM-semantics but not generally with AF_UNIX (as far as I understand)) Maybe the description of that messages are lost were bad, but maybe they are dropped (perhaps by the fact that the socket-buffer or such is full (just a wild guess)) If we get some spare time, we will try to reproduce this in a more simple manner (i.e. a small test-program) Keep up the good work, Kristian [snip] > Corinna > > -- > Corinna Vinschen > Cygwin Maintainer > -- > Problem reports: https://cygwin.com/problems.html > FAQ: https://cygwin.com/faq/ > Documentation: https://cygwin.com/docs.html > Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple