From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-lf1-x131.google.com (mail-lf1-x131.google.com [IPv6:2a00:1450:4864:20::131]) by sourceware.org (Postfix) with ESMTPS id 82D643858025 for ; Thu, 15 Apr 2021 13:15:05 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 82D643858025 Received: by mail-lf1-x131.google.com with SMTP id f17so32103905lfu.7 for ; Thu, 15 Apr 2021 06:15:05 -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:content-language :thread-index; bh=B6d64Ejfa2t82tJ3FXQpR3Je9E6YOYa3ubmLCMoF9bE=; b=hc8XSCFxlrtRHbdE59/OmzFVCxvsDHTkfhxso8bVmReHVB7sOqqUGsMCWwR9YHhBO6 qaEZaEElyZbk1aim/VgPlPfht2mNIbfOmQaCENxt7spPpju9MHj39sB7Ry1SviSirUmr V4YxAO3Z+Ner0veHDlej3Tmq6HN/Elo5byMVFKwzVISlSuQmCQ5vgs6yK6vnMaFzBN9l u0gdzENZgJbDyiVw/IomGEDiuOIctFhB1cWsIDt5VpdN0u/KlmcwYW/0ubhHZtjjxl2S 75R1vnOOR2rAi0H7BNC0eSy1S4rKioyl8S4bR1YBDYre6I/ARHBJPV9Y5KB9kG3nNMDl lzXQ== X-Gm-Message-State: AOAM53089ECGj2YOiR8L3B/HQU6/l1wJjnlXDz0IMjwac0wEu9YnVPYZ EslTgCqilyzbSHOE0JIVc2nIstmAOEq3XQ== X-Google-Smtp-Source: ABdhPJzLJSd3x/RFkCYQpp0MWpe7cAk6TsSKX8BFj2JYUWA5e7aTLf6qGTT+/VVFg1xdl2t5ubM6wg== X-Received: by 2002:a05:6512:3046:: with SMTP id b6mr2673655lfb.5.1618492504097; Thu, 15 Apr 2021 06:15:04 -0700 (PDT) Received: from zingo (87-249-172-112.ljusnet.se. [87.249.172.112]) by smtp.gmail.com with ESMTPSA id j2sm677257lfm.210.2021.04.15.06.15.02 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Thu, 15 Apr 2021 06:15:03 -0700 (PDT) From: To: "'Ken Brown'" , References: <04cc01d71ffa$7d1e6cf0$775b46d0$@gmail.com> <00d901d7208e$97c05c50$c74114f0$@gmail.com> <860668bf-8cf9-0969-6a01-7fbf8b782db1@cornell.edu> <000901d72607$55dc5a90$01950fb0$@gmail.com> <3346cd1c-b93f-83c4-ff26-553ac95ec692@cornell.edu> <7c21a430-9609-7fd4-1a02-8b7c1978d2f8@cornell.edu> <001901d72af4$4009cd50$c01d67f0$@gmail.com> <134074c1-4c0b-0842-b88b-536a1ed4aefe@cornell.edu> <000e01d7306e$3c265580$b4730080$@gmail.com> <19cf8626-c653-76db-a409-730a5aa5c955@cornell.edu> <4380cdea-c95b-d9dc-50e3-e5adabb73b92@cornell.edu> <000701d73151$9c259660$d470c320$@gmail.com> <2e64e918-b28b-753e-8337-c757cc62b9bb@cornell.edu> In-Reply-To: <2e64e918-b28b-753e-8337-c757cc62b9bb@cornell.edu> Subject: RE: AF_UNIX/SOCK_DGRAM is dropping messages Date: Thu, 15 Apr 2021 15:15:03 +0200 Message-ID: <000001d731f9$58e417c0$0aac4740$@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Outlook 16.0 Content-Language: en-se Thread-Index: AQIPffBCgY7dkx32YYBd4buxXBOzegICwCl2At957CQCAh4QbgK/qZQ0Aiflzi4DDsW9ugMOPnyiAg8iLcEB0zQOqwLLQMAbAeO3FIwBoD1qHQE1vHVhqVp0hOA= X-Spam-Status: No, score=-1.7 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, 15 Apr 2021 13:15:06 -0000 [snip] > > I tried SOCK_STREAM (and SOCK_SEQPACKET I think) for CYGWIN 3.2.0 = but > > that didn't work at all > > > > As far as I understand, both all types on pretty much all > > implementations preserves message ordering though > > > > I haven't tried SOCK_STREAM and/or SOCK_SEQPACKET with the > topic/af_unix-branch. Is that worth a try ? >=20 > SOCK_STREAM is definitely worth a try. The implementation of that = should be > much more reliable than the implementation of SOCK_DGRAM at the > moment. We don't implement SOCK_SEQPACKET. It might be a complete rewrite of our semantics though, because it's = connection based and allows just one writer on each "channel" and = messages (chunks) cannot be handled "atomically" Best regards, Kristian > Ken