X-Recipient: archive-cygwin@delorie.com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org C6DB5389244F
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
	s=default; t=1617695570;
	bh=CAZlOXl7Cxp7+pQ1T63jg8p8W52Bc0c5WA1o4Djg5QQ=;
	h=Subject:To:References:Date:In-Reply-To:List-Id:List-Unsubscribe:
	 List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:
	 From;
	b=m8h7+YqwVlmL/n9GwrEcF10uHGKqeWo9cSXhjL9SdrdJe6fnlhxTMF7SgvSsB1WK+
	 Mt+PghVCanwq/NKZam09FZH6EbijLlsMHDRzn7v8Tho1eJiDgfkkUzYR21/6VMoEjC
	 IhC0bWW4FssqhHu17E53yaaXn/uULMAK+Or/OZ4M=
X-Original-To: cygwin@cygwin.com
Delivered-To: cygwin@cygwin.com
DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org D6A97389244B
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:subject:to:references:from:message-id:date
 :user-agent:mime-version:in-reply-to:content-language
 :content-transfer-encoding;
 bh=fMi2/KIuGw+0PS82r6cLdxq8qWeS79WXzB3wuGcC2sM=;
 b=njOvxcCV5DqkDEkMVLOl8N29KikaVEJgfZD5+MGd2lM2ql6+CumHP5FRh2F38VcBP7
 V2xwHssJdn1LBW96UsHjCurbHBaUQq26yZedtVcsWTXrGWLi3X8WodnRrdmIxH7ZRGlI
 OsLIg+0iebD1hYniPPNU6aRuGX09F6ngb8djo9kEG8G3lihy3lRpbSIXu/pn2OOAQ72p
 vrI2dX5jJOYZ5AGsspZ9AOr3OOBJbti7k13gHWRpZ0kVWE9K/CFJ4Rrq1sjatmQUiEj0
 Y2AEhnSM7hAxgWGviBgk4PQ55Cn7mxAIWTDE38P1igGCh4PAd5jF/O2Dzy/ct/Sz5z1q
 H34A==
X-Gm-Message-State: AOAM530N0vlvuuF9LGFI0P7sBaDGa6u/zWtvwPdX9+m72J/qHlb3wEi8
 ZbtdT9WIaaiJpjs5MA+nsEjEd5htQOsOkQ==
X-Google-Smtp-Source: ABdhPJxWSSSLU13zPAjKRpSvoTa07OMmUYZKbbvbGPkRTk+Lyu0uINcNGMrL719j+xH16v4GBz9z3g==
X-Received: by 2002:a1c:6382:: with SMTP id x124mr2851342wmb.142.1617695566891; 
 Tue, 06 Apr 2021 00:52:46 -0700 (PDT)
Subject: Re: AF_UNIX/SOCK_DGRAM is dropping messages
To: Ken Brown <kbrown@cornell.edu>, sten.kristian.ivarsson@gmail.com,
        cygwin@cygwin.com
References: <04cc01d71ffa$7d1e6cf0$775b46d0$@gmail.com>
 <YFo/fFC2bITvnVGr@xps13> <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>
Message-ID: <6a9ada5d-9749-3e08-be64-084b04cd819a@gmail.com>
Date: Tue, 6 Apr 2021 09:52:42 +0200
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101
 Thunderbird/78.9.0
MIME-Version: 1.0
In-Reply-To: <7c21a430-9609-7fd4-1a02-8b7c1978d2f8@cornell.edu>
Content-Language: en-GB
X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00, DKIM_SIGNED,
 DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, NICE_REPLY_A,
 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 <cygwin.cygwin.com>
List-Unsubscribe: <https://cygwin.com/mailman/options/cygwin>,
 <mailto:cygwin-request@cygwin.com?subject=unsubscribe>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-request@cygwin.com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
 <mailto:cygwin-request@cygwin.com?subject=subscribe>
From: Noel Grandin via Cygwin <cygwin@cygwin.com>
Reply-To: Noel Grandin <noelgrandin@gmail.com>
Content-Type: text/plain; charset="windows-1252"; Format="flowed"
Errors-To: cygwin-bounces@cygwin.com
Sender: "Cygwin" <cygwin-bounces@cygwin.com>
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id 1367qsP8010532



On 2021/04/01 6:02 pm, Ken Brown via Cygwin wrote:
> Here's the issue, briefly.  The communication is done via a Windows named pipe. The receiver creates the pipe when it 
> creates and binds its socket.  It creates only one pipe instance.  The sender connects to the pipe, writes, and closes 
> its handle.  But the pipe is not available for another sender to connect to until the receiver reads the message, after 
> which it disconnects the sender.
> 

This

    https://docs.microsoft.com/en-us/windows/win32/ipc/named-pipe-instances

seems to indicate that multiple pipe instances are needed to handle multiple clients nicely - it also has sample code 
for such.
--
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

