delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2020/06/11/02:38:14

X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org CAEF33890406
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1591857447;
bh=IrWhF9o2r6MVx/96QJIgs0WNd9LY7S49hi/HF8QqYBs=;
h=To:References:In-Reply-To:Subject:Date:List-Id:List-Unsubscribe:
List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:
From;
b=doCNuDubbfrFdgqnHFQWxjz8sPvVnD4mc/C8vp2DdOuJNz0U3svBJoHFAgxKBnPsp
8nN7s0pS/epSCPmMK10lTUxj+Pja9xnhYqfzKkA2P+mx4hIrJkMSxh2vZwXI7iWGvU
yyHTyH9cH43xzRj9qX3KVN7MoR2SWDJpj88A7RFo=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org DCBCB383E80D
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)
To: <cygwin AT cygwin DOT com>
References: <000301d638db$dced49a0$96c7dce0$@gmail.com>
<20200603132320 DOT GH6801 AT calimero DOT vinschen DOT 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
X-Mailer: Microsoft Outlook 16.0
Thread-Index: AQKMIPtXPIsjGwU54GfU1q+yL/x+vAG1tuA9p1mDbjA=
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 AT cygwin DOT com
X-Mailman-Version: 2.1.29
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <http://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
From: Kristian Ivarsson via Cygwin <cygwin AT cygwin DOT com>
Reply-To: sten DOT kristian DOT ivarsson AT gmail DOT com
Sender: "Cygwin" <cygwin-bounces AT cygwin DOT com>

> 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

--
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

- Raw text -


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