From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 101415 invoked by alias); 24 Apr 2019 16:44:10 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 101407 invoked by uid 89); 24 Apr 2019 16:44:10 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-103.7 required=5.0 tests=AWL,BAYES_00,GOOD_FROM_CORINNA_CYGWIN,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 spammy=Edward, edward, cygwins, Cygwins X-HELO: mout.kundenserver.de Received: from mout.kundenserver.de (HELO mout.kundenserver.de) (217.72.192.75) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 24 Apr 2019 16:44:07 +0000 Received: from calimero.vinschen.de ([24.134.7.25]) by mrelayeu.kundenserver.de (mreue108 [212.227.15.183]) with ESMTPSA (Nemesis) id 1N49d1-1gbaBS3KF7-0101vm; Wed, 24 Apr 2019 18:43:59 +0200 Received: by calimero.vinschen.de (Postfix, from userid 500) id 1AB3DA80772; Wed, 24 Apr 2019 18:43:58 +0200 (CEST) Date: Wed, 24 Apr 2019 16:44:00 -0000 From: Corinna Vinschen To: "Brabant, Edward H CTR (USA)" Cc: cygwin@cygwin.com Subject: Re: bug: cygwin-devel v3.0.2-1 socket.h does not #define MSG_EOR per the POSIX standard Message-ID: <20190424164358.GG30041@calimero.vinschen.de> Reply-To: cygwin@cygwin.com Mail-Followup-To: "Brabant, Edward H CTR (USA)" , cygwin@cygwin.com References: <0873126E9D101A4A983DE738F4346DBC9114A8F3@NAWESPSCXM03V.nadsuswe.nads.navy.mil> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="0rSojgWGcpz+ezC3" Content-Disposition: inline In-Reply-To: <0873126E9D101A4A983DE738F4346DBC9114A8F3@NAWESPSCXM03V.nadsuswe.nads.navy.mil> User-Agent: Mutt/1.11.3 (2019-02-01) X-SW-Source: 2019-04/txt/msg00168.txt.bz2 --0rSojgWGcpz+ezC3 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-length: 1242 On Apr 24 15:47, Brabant, Edward H CTR (USA) wrote: > 1. In cygwin-devel v3.0.2-1, does not #define > MSG_EOR. In bash, with CWD=3D/usr/include, the command "find . -name > '*.h' -exec grep -Hn MSG_EOR {} \;" does not find any matches. >=20 > 2. The Open Group man page for contains the following > excerpt regarding #define MSG_EOR: >=20 > The header shall define the following symbolic > constants with distinct values for use as the valid values for > the msg_flags field in the msghdr structure, or the flags > parameter in recv(), recvfrom(), recvmsg(), send(), sendmsg(), or > sendto() calls: > ... > MSG_EOR > Terminates a record (if supported by the protocol). > ... MSG_EOR is not supported by underlying WinSock. There's a similar MSG_PARTIAL, but it's defined differently. It's also unsupported by all of the predefined protocols, including UDP. Since MSG_EOR isn't implemented in the underlying transport layer, there's no way to implement it in userspace. That's why it's not defined in Cygwin's headers. If you have an idea how to implement this in plain userspace, feel free to provide patches. Corinna --=20 Corinna Vinschen Cygwin Maintainer --0rSojgWGcpz+ezC3 Content-Type: application/pgp-signature; name="signature.asc" Content-length: 833 -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEoVYPmneWZnwT6kwF9TYGna5ET6AFAlzAkk0ACgkQ9TYGna5E T6A3xw//bHPc1184YoTotkIfnbsHeoq0JsaUN2vdUjRGNJhiIE9r46aew78G8Ewp 8KULdhbXkUl6/jjkNK0IHgDGJN+ph8NkBCDUsz4xEpQ4ZCD25NbWt3VoEnomZmtU osy9C3aCIjOxOkqJNCZvpM3J1TI0hQIumlm1UnLGP49RstgQi5HJyQEjikTOG/r/ Mp2elhbXOk5A9BnYykIc8fZZKMb5U4f1yKFeNlJeQazkDXgirAeTjY0NimOeG2Lu paKqQGoUWZbe6GzBqaGlNyi20U3Pmbt5F1MPJdU6MDxrt37L4usKCP0WgRPwgDKi Xk/zJ8mp3wdyqRpRxtIYyQlPwLgIB3F7/dEt1KvPoVGrKE+ZuK5TieH8H4lrDgNY I8/0VE9FrdzgkdNYYn+2JqpFkkMgjx86KQBt6UxazG5SUH8wRyzOvI+0tGhGwdPB D3tIEbaJhrmhxBm1/FzSiPatQGJoxffvMCkgAp7rV+1/yQb5O7Azeeql8xNmrNDM jpnkleQD3XXF+PAGT7FN4trAB5H1xNV4ba9HUu3XFKkr4n8mwPVTru91Yvxi9asw Dmu5tEWLY2P7QNm1By4DoQg5pVw3RjMo3rUzedooDSQyFIe0/g/B/5VSsrzk4a4t LsNw1AHX85jM4HUykI+oHPO7nKCZv1Y5aIQRvk7TNmSdtW3Q6/Q= =45v8 -----END PGP SIGNATURE----- --0rSojgWGcpz+ezC3--