X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:reply-to:to:subject:date:message-id :content-type:content-transfer-encoding:mime-version; q=dns; s= default; b=qjEGGUCjbv18Lfk7tMa20lSVouuUB8IV2ptW/griFrA4/cwn8uJx/ MUpxEn6GN+/7VOJH7sioBqj41253GL5wFuHLVAmtFOx7EG8KKdytYsxJf2EjoEba RZLwjErlis08nGQh3ITSb/o0BAk8dd5wmTw3ZKKmjJsgYWbUIiYvQI= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:reply-to:to:subject:date:message-id :content-type:content-transfer-encoding:mime-version; s=default; bh=7k42QHo8QH7/lTrhJW/rqFB4zD0=; b=xpOPARZpT1GKpjnF/LUtV+Pasqmj jejWetIUeeQmHwsT1NFgK6dinSOwtZW+WrfBZ+jfFHMjzYowRKuppOaCMAdxxxA6 vP8nXf2ZlU4p5tRUidkIGdyNlEHvtUauQfEwxaeh0yfNV3+Jqg6yGTjPlACBOv6F kLATYg+eo2ySw6c= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_PASS autolearn=ham version=3.3.1 spammy= X-HELO: nihcesxway.hub.nih.gov DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nih.gov; i=@nih.gov; q=dns/txt; s=NIH; t=1564548503; x=1596084503; h=from:to:subject:date:message-id: content-transfer-encoding:mime-version; bh=7AjHk6Rg1Gvm/h/lgH3Lsx4cNWupzQagQr2YGskcAoo=; b=UaiO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ha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=7AjHk6Rg1Gvm/h/lgH3Lsx4cNWupzQagQr2YGskcAoo=; b=HGXmjiiEZ+lDAYkVjuhJTm7xFoYaSCS+DgxNJ/GUW9qZwD2JEDcgnAKdEAOGlinWG6G94NQNQzxlbPJNxk6MAEFM8YofPW2cRKZZVqOek5uYMleZosREYNOwPUsja2fHvok9CEy8TJNrxLmyKMG2MlRj+kcUPSuCikHJwOXBwxbLRvuw5oZj6Np+ce4aUgAtev9QmF/0ENfRyh+KMZFldUpxgetJOo6BoeAHzLthM/PFQ8NIhDxsokftkML51pAyDTx1Cg09lN/K7/SnQjOZP5UmbwfnYRE9o5cwT+Jg3OIS70plqjd9A0K7e3x+elpaOkvSQ48nopiGOZD62Viveg== ARC-Authentication-Results: i=1; mx.microsoft.com 1;spf=pass smtp.mailfrom=ncbi.nlm.nih.gov;dmarc=pass action=none header.from=ncbi.nlm.nih.gov;dkim=pass header.d=ncbi.nlm.nih.gov;arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nih.onmicrosoft.com; s=selector1-nih-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=7AjHk6Rg1Gvm/h/lgH3Lsx4cNWupzQagQr2YGskcAoo=; b=lmqE+BaSt7GqMWscR7votIMc0/KxlhyLs5xQ31WLtGcA+PeaNQSCT30LE8XgPAkqY0afPVmeNozfCWvh4z2aWhYiksCMLtfOh6JwI1NeLaDTn14TBvDAH9lsn+oS5l//a0qxshOCLE5M4dRbNisiDiTEAqv7x2NAEGdAsK1WZ9s= From: "Lavrentiev, Anton (NIH/NLM/NCBI) [C] via cygwin" Reply-To: "Lavrentiev, Anton (NIH/NLM/NCBI) [C]" To: "'cygwin AT cygwin DOT com'" Subject: Re: TCP_CORK (aka TCP_NOPUSH) does not work Date: Wed, 31 Jul 2019 04:48:19 +0000 Message-ID: authentication-results: spf=none (sender IP is ) smtp.mailfrom=lavr AT ncbi DOT nlm DOT nih DOT gov; x-ms-oob-tlc-oobclassifiers: OLM:9508; x-ms-exchange-senderadcheck: 1 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: lavr AT nih DOT gov Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id x6V4o48V030436 > Regular SO options on Windows: I did not ask about Windows options. I asked about a feature that is defined in Cygwin yet appears not functional. > You can abuse Nagle to get similar behaviour cross-platform: This is not the same thing! > ENOPROTOOPT (109)... "The option is not supported by the protocol." Indeed the textual description does not match, and should be changed in Cygwin. Although, I'm sure it was copied over from Linux, which does not define it properly (probably, historically), either: #define ENOPROTOOPT 92 /* Protocol not available */ BTW, Windows does that correctly: WSAENOPROTOOPT (10042) = "Bad protocol option" > If a socket option is defined, perhaps for compatibility, it should either be > used or ignored, rather than giving an error. > If you are not going to support a socket option, and generate an error, it would > be better to not define the option and generate the error at compile time, > instead of failing at run time. Who are you suggesting this to? -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple