From: Eli Zaretskii <eliz@gnu.org>
To: Robert Pluim <rpluim@gmail.com>
Cc: mlang@delysid.org, emacs-devel@gnu.org
Subject: Re: datagram source port?
Date: Wed, 15 Jan 2020 18:27:38 +0200 [thread overview]
Message-ID: <83muao4rd1.fsf@gnu.org> (raw)
In-Reply-To: <m21rs1qcb6.fsf@gmail.com> (message from Robert Pluim on Wed, 15 Jan 2020 10:49:33 +0100)
> From: Robert Pluim <rpluim@gmail.com>
> Cc: mlang@delysid.org, emacs-devel@gnu.org
> Date: Wed, 15 Jan 2020 10:49:33 +0100
>
> I took another quick look at this, and noticed that the windows port
> doesn't support datagram sockets at all, although the underlying
> Winsock does. Is there a reason for that?
This comment from nt/inc/ms-w32.h explains that:
/* And the select implementation does 1-byte read-ahead waiting
for received packets, so datagrams are broken too. */
#define BROKEN_DATAGRAM_SOCKETS 1
(Let me know if you want me to explain what it means by "1-byte
read-ahead". Or just read the large commentary that starts around
line 870 of w32proc.c.)
I don't know enough about datagram sockets, but I hope you do, in
which case the above comment ought to be the answer.
Thanks.
next prev parent reply other threads:[~2020-01-15 16:27 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-12-19 9:12 datagram source port? Mario Lang
2019-12-19 10:41 ` Robert Pluim
2019-12-19 15:43 ` Eli Zaretskii
2019-12-19 17:07 ` Robert Pluim
2020-01-15 9:49 ` Robert Pluim
2020-01-15 16:27 ` Eli Zaretskii [this message]
2020-01-16 8:04 ` Robert Pluim
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=83muao4rd1.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=emacs-devel@gnu.org \
--cc=mlang@delysid.org \
--cc=rpluim@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).