X-Recipient: archive-cygwin AT delorie DOT com DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org CB8F1383B407 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; s=default; t=1618492507; bh=QtQL8iQOJiq9uQ4CrbfzFkNrNUx9WdYJSG6OAoFsE9U=; 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=XoMpQWfJgMQURGvze3O5OUgHa6k/IpGXk67xy/Dn2DHBRv3suWAZ5bPArzeUARQLp KYKoWepY9ajwJ0K9COYWfZWQD4K8+ISNHkRSbiqBv4NyEoC3nhdXhKRBD1fc7Rrdbm KCKGjh3U9cS3qaEPtZWmbujuu3aS3VEpmclbmsSI= X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 82D643858025 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) To: "'Ken Brown'" , References: <04cc01d71ffa$7d1e6cf0$775b46d0$@gmail.com> <00d901d7208e$97c05c50$c74114f0$@gmail.com> <860668bf-8cf9-0969-6a01-7fbf8b782db1 AT cornell DOT edu> <000901d72607$55dc5a90$01950fb0$@gmail.com> <3346cd1c-b93f-83c4-ff26-553ac95ec692 AT cornell DOT edu> <7c21a430-9609-7fd4-1a02-8b7c1978d2f8 AT cornell DOT edu> <001901d72af4$4009cd50$c01d67f0$@gmail.com> <134074c1-4c0b-0842-b88b-536a1ed4aefe AT cornell DOT edu> <000e01d7306e$3c265580$b4730080$@gmail.com> <19cf8626-c653-76db-a409-730a5aa5c955 AT cornell DOT edu> <4380cdea-c95b-d9dc-50e3-e5adabb73b92 AT cornell DOT edu> <000701d73151$9c259660$d470c320$@gmail.com> <2e64e918-b28b-753e-8337-c757cc62b9bb AT cornell DOT 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 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 AT cygwin DOT com X-Mailman-Version: 2.1.29 List-Id: General Cygwin discussions and problem reports List-Archive: List-Post: List-Help: List-Subscribe: , From: Kristian Ivarsson via Cygwin Reply-To: sten DOT kristian DOT ivarsson AT gmail DOT com Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "Cygwin" [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 ? > > 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 -- 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