X-Recipient: archive-cygwin AT delorie DOT com DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 68AF13858D39 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; s=default; t=1680519448; bh=KdryyAjYzSg/qIGnLIsmzzqOusZaCWkHmZLTJ6A/r38=; h=Date:To:Subject:References:In-Reply-To:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc: From; b=cD6vbY0Nv5oA6xiR6+q/+q/2JS/3ute+iBA9P6+W1uGg36t0POGleoTxIEXmdfALR zYG8ESFDdta2OMEnGTeXg7WCOQEVDYnqceA2CVDn6BLuZXCAMq3LATKU8wV82UYOVi rmkmFeP3u2NQ8sy87xgDnGKCQfWSaxZlNJIEjHI0= X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 73D8B3858D37 Date: Mon, 3 Apr 2023 12:56:48 +0200 To: Chance Subject: Re: MSG_MORE socket.h flag Message-ID: Mail-Followup-To: Chance , cygwin AT cygwin DOT com References: MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: X-Provags-ID: V03:K1:FoBs5GjFwuCzQQSu+GZREXuoWc6jf051wS+vcS0kUwSq27SQ/iE ukZQvuRaOMyD2H9DxJmY9HK35Upj94sizEiYNF5Z4v4kZ5AoeniMlLngSfIJYu4d7fbNn5Q OQaIk3i8es4zn+cF0yxdKo0qc9444T8yQA3LTmMAQdcsVw5K4TzFrFX6kQzTzM9Sf4ohQYq GEm9+ltUJMy+4BHwXkWKw== UI-OutboundReport: notjunk:1;M01:P0:flcIB8DU/NE=;OJqK+FUbxiE6CzHrdQq6Y6aGgA/ 0Pge4aoYV+8tytp6Otrw5qHsgSHgddhLlV5Hi0dcOYPK6cSb5YiJ2JGE4mFLtOqFO33T724dy t8GJSlbJlRfx/4KJ49gfj8o2Uaf5DtPwzxqzqh6RGu/ZYt+H1ge2z+iwywHIwo212Y3JNNWmy DGe7FWFoo5KPBNozISEQWmE8JAWq03VbKXdPMV3e7wf5IgaDt1lfcwBSOdy55DmtYF+J6QtJn R/517mULMe+87m3rzVyG/zArJKS/qRD9O0ST2/f3M6EWxPieHg59anCJTTAm1XHgSwFBEjjrz NSdiZ6nT2sDRBieCDm9Y3J7gz80qAVPSgMnw/8+5DLu88jSsQL4hj8ZwQjQjNARVUgPdTab3W RndYXpP7lAa6KCtV9l2Z6qEIqHOGNdivepCvcYLRXM4bl3hHURzRDH2TsRHUYKSoGI5Mk4ukV 6E32I4gT5FuIuBDv/92CUQDptucjJ8/X6T4+6mj24tU2UUnhhsZB9Yze9GL5l0Zp+yI4yInqb Z41hX2ZnAapVUFR+eOcYq0iT+hfD9Le2OMWL4hkmeNBN+Z4tv49Z2N8x30pAK8THIlnSm/ZLH KlVpHFq2A86SFc7tPLMg52Q3i5L1EdMLsBSxteziveQ+F+FNfL2qRlvshD8jXJ4oIxGORtqYe DIGiXWc51LGn75DIojR2yaZmpWocFCIZZ/dPvvrGNw== X-Spam-Status: No, score=-97.7 required=5.0 tests=BAYES_00, GOOD_FROM_CORINNA_CYGWIN, KAM_DMARC_NONE, KAM_DMARC_STATUS, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2, SPF_FAIL, SPF_HELO_NONE, TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: cygwin AT cygwin DOT 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: , From: Corinna Vinschen via Cygwin Reply-To: cygwin AT cygwin DOT com Cc: Corinna Vinschen , cygwin AT cygwin DOT com Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com Sender: "Cygwin" On Apr 2 00:19, Chance via Cygwin wrote: > I've used cygwin in the past few years using the MSG_MORE flag when using > some socket functions I have no idea how you did that. MSG_MORE was never actually supported by Cygwin, and the (more or less) equivalent MSG_PARTIAL flag was never exposed into Cygwin user space. > but now it's not defined in cygwin\socket.h and It never was! I checked the history back until the year 2000. > MSG_EOR is using the value of MSG_MORE (0x8000). Above that in the socket.h > file there is a comment /* MSG_EOR is not supported. We use the > MSG_PARTIAL flag here */. I understand this as meaning MSG_EOR now works as > MSG_MORE would and that MSG_EOR is not usable. Just want some clarification > on this. It just means we're using the bit value of MSG_PARTIAL to expose a MSG_EOR flag into user space. It was introduced in 2019 because of POSIX header file compatibility, but it's unsupported and always results in sedn/recv returning EOPNOTSUPP. I'm still puzzled where you got the MSG_MORE definition from, though. Corinna -- 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