From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Robert Pluim Newsgroups: gmane.emacs.bugs Subject: bug#45821: 28.0.50; Add UDP support for Emacs on Windows Date: Mon, 27 Sep 2021 18:47:47 +0200 Message-ID: <87czou3qz0.fsf@gmail.com> References: <87turmhvub.fsf@gnus.org> <83lfcyc865.fsf@gnu.org> <87k0shqjq0.fsf@gmail.com> <87k0llngby.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="29055"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 45821@debbugs.gnu.org To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Sep 27 18:53:52 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mUtt1-0007Hp-Rs for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 27 Sep 2021 18:53:51 +0200 Original-Received: from localhost ([::1]:60074 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mUtt0-0006Zr-Q9 for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 27 Sep 2021 12:53:50 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:46602) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mUtnO-00004w-NB for bug-gnu-emacs@gnu.org; Mon, 27 Sep 2021 12:48:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:59354) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mUtnO-0007NP-D1 for bug-gnu-emacs@gnu.org; Mon, 27 Sep 2021 12:48:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mUtnO-00067B-0f for bug-gnu-emacs@gnu.org; Mon, 27 Sep 2021 12:48:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Robert Pluim Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 27 Sep 2021 16:48:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 45821 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 45821-submit@debbugs.gnu.org id=B45821.163276127723492 (code B ref 45821); Mon, 27 Sep 2021 16:48:01 +0000 Original-Received: (at 45821) by debbugs.gnu.org; 27 Sep 2021 16:47:57 +0000 Original-Received: from localhost ([127.0.0.1]:42667 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mUtnI-00066p-VP for submit@debbugs.gnu.org; Mon, 27 Sep 2021 12:47:57 -0400 Original-Received: from mail-wr1-f41.google.com ([209.85.221.41]:39788) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mUtnH-00066a-9l for 45821@debbugs.gnu.org; Mon, 27 Sep 2021 12:47:55 -0400 Original-Received: by mail-wr1-f41.google.com with SMTP id r23so27733898wra.6 for <45821@debbugs.gnu.org>; Mon, 27 Sep 2021 09:47:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:references:date:in-reply-to:message-id :mime-version:content-transfer-encoding; bh=ZeEqBVXuoxoWsKDVkXNlT14RrqsTIWIJQt11AtTs3Mk=; b=avqlzdMdj59h22k21fdNMjpFaaZCXnqqLhRBnWo+Q12rUdQyC+K0LwhM/5GoOLpUN/ nC/+wrIcdWwt5+1y5qBuVen/DslSvExjUldoseAd2txtUTzCcDcSmmEMD4zEojJ6r68u kxWzHgHDyfvAbczYbtjDBc89kpP4BCaebNWfSmPhRm4OthX7tWMcekNHwK9IAzR4/OaF Bd5SnuzT7kJMhbe1BZk9XNGt9no4gpIiFdtao7JGdrnitV4jkqtdU6aE730l43Jnh0f3 Ip4ICFzxN/VHl4pibHP3BTRgStZvHuTXT+EqhPgsOHYr8V2JayqmyNHXp1ROCKgLV4gH PomA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:mime-version:content-transfer-encoding; bh=ZeEqBVXuoxoWsKDVkXNlT14RrqsTIWIJQt11AtTs3Mk=; b=exN5O/tRfEKp8MveLXvoJ15+iQVYYjYE0BYAp01X8HU5KBVEV4EQCDYKjGeJaUyV24 BGIldF9rqzZ+a7tUc1C665tqUHQPanSCHVwLQr+gqFDcx0NDO2goR6P8svtYJWTH8JZi 7nv/LKdd4+fUtzEcyTREEhqk/cQxYHbwQ66w4fOl11kfFBtwww2qJ1x5uc98tC+V71Zi B8L9enI6tWQdaWQZYYJfukEE2KPjkMvWXnsfidsntdCAE6urSHM/bZXT58eOJbmwIDXW eJzmoczzCzlUvgG9cVorjWMoRRtfyDn63mdPKW3PWLnd8jrKzwKxaEl+pQ54aeyPMdx2 GbnQ== X-Gm-Message-State: AOAM533PD+BF6bZBYiw/aELntGZiNxooP4IPS0IG/ywNIyI2r9ebFTnj zfCPKpvCN1kPG3Mj3AFYcVxyl2zFYsI0Rw== X-Google-Smtp-Source: ABdhPJzuOgdf3gMjiEkq3Uvov99TwslQpXwfK33MyDIDYZ5nb9aKP6nrJVK5ukTuXeZbCd8V5RCd/w== X-Received: by 2002:a5d:6ac7:: with SMTP id u7mr957457wrw.219.1632761269020; Mon, 27 Sep 2021 09:47:49 -0700 (PDT) Original-Received: from rltb ([82.66.8.55]) by smtp.gmail.com with ESMTPSA id z8sm7877505wrm.63.2021.09.27.09.47.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 Sep 2021 09:47:48 -0700 (PDT) In-Reply-To: <87k0llngby.fsf@gnus.org> (Lars Ingebrigtsen's message of "Tue, 20 Jul 2021 17:41:05 +0200") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:215690 Archived-At: >>>>> On Tue, 20 Jul 2021 17:41:05 +0200, Lars Ingebrigtsen said: Lars> Robert Pluim writes: >>>> This patch from Robert Pluim adds that support, but needs somebody= that >>>> actually uses Windows to test it. >>>>=20 >>>> As it stands you need to arrange for WORKING_SELECT_EMULATION to be >>>> defined. >>>=20 >>> Why do we need that #ifdef? Leaving it there means this is dead co= de >>> that will never be tested. >>=20 >> It=CA=BCs a WIP testing patch. If we applied it we=CA=BCd remove the= ifdef (and >> maybe add a lisp-level control var to turn it off) Lars> I tried applying the patch and building on Windows and... er... Lars> nothing happened? That is, touching w32.c didn't lead to anythin= g being Lars> compiled. So I guess I don't understand how this works under Win= dows. Lars> (A mingw/non-mingw thing?) Lars> I still think it would be very nice if we had UDP support under W= indows, Lars> so if somebody else could poke at this, that'd be cool. I=CA=BCve resurrected this patch, it seems to be working nicely. Adding a lisp-level control variable seems more trouble than it=CA=BCs worth, I think the risk of breaking stuff on all platforms is higher than that of breaking stuff on Windows. Are we too late for emacs-28? Robert --=20