From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao!not-for-mail From: Robert Pluim Newsgroups: gmane.emacs.devel Subject: Re: datagram source port? Date: Wed, 15 Jan 2020 10:49:33 +0100 Message-ID: References: <87mubollw5.fsf@blind.guru> <83r2101ft9.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="ciao:159.69.161.202"; logging-data="1745"; mail-complaints-to="usenet@ciao.gmane.io" Cc: mlang@delysid.org, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Jan 15 16:34:42 2020 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1irhnt-000243-Cy for ged-emacs-devel@m.gmane-mx.org; Wed, 15 Jan 2020 13:29:45 +0100 Original-Received: from localhost ([::1]:51474 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1irfJd-0007RZ-Kt for ged-emacs-devel@m.gmane-mx.org; Wed, 15 Jan 2020 04:50:21 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:56305) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1irfIw-0006cx-9B for emacs-devel@gnu.org; Wed, 15 Jan 2020 04:49:40 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1irfIv-0007VZ-9U for emacs-devel@gnu.org; Wed, 15 Jan 2020 04:49:38 -0500 Original-Received: from mail-wm1-x334.google.com ([2a00:1450:4864:20::334]:55813) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1irfIv-0007VE-33; Wed, 15 Jan 2020 04:49:37 -0500 Original-Received: by mail-wm1-x334.google.com with SMTP id q9so17095402wmj.5; Wed, 15 Jan 2020 01:49:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :mime-version:content-transfer-encoding; bh=oZHW9F2vtIPgrumMSs6TnmGO3GQJbPjlGMWUDR1Qkww=; b=ZyQhe+IlVEzXS6w48C4s5RM9RIcK2xMmUVSq4sFbnMiDqJ3Ix8+HR3Us+/xTEi8l+Y UOdoR6hPbZpOnPfN81iR01u6BLtdrsLbgsHb9vZeMmWgQpn+mT8Hzp73Bf0tm7e1fF2q ytN9j/W4u8M6+IqLYmWE7FKKYQFL5kIu33pJseRDfzmgzSLYHzRZ1YxUFHSLnf4uI+bC s6V/o/RVakSoz1rXeAUzt31aFK7jlHOt8ZjlDg32w/1nJ02NHCbVc2QsUu/7gKEetLPB 1jWpMUHpWLs1CFW7vUQAjPOE+sseM/8rWX2UpjXWAb24FukFKbmibw02cMRLygj5iJF/ cy8w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:mime-version:content-transfer-encoding; bh=oZHW9F2vtIPgrumMSs6TnmGO3GQJbPjlGMWUDR1Qkww=; b=anWUMh4cZB7j1JpopweWHzx/KZANQnIY9JWKdfqRx9E96Sozszsn5Natv6tKJMshEr 0P3PPEkdKYoELxlenEx8o6noxoCduLLdoMWaAa1pJ2Hsu2X5724OIGvIQVBVfRP7FhQy CDLoL2AdT3HnOJOpWIk8KztsJjtDSIWiYPWqjE8XOAbgihczfXwM5NIRm0ENrvV1m0Q4 wJXX/i8RRj497dHWMrIsD53ZvkbPXifLj56YgMJX4Iy1IN2zfSuhtHHCWWpBvDsH0EuA IF0a3OVKkmnNUmiTNqiWopUMoDPJt7xhgQAXcNI8D/alpMbi8BaCgmcycBGzPQcVf/1Y ZJKQ== X-Gm-Message-State: APjAAAUfPnQD5DxajcVAxP0Zmw1xysmQZ7f0VU9h3W2EU6oTvMt7aohz Njv3NM7xtgat68LF5nuokX9hTn/8ktk= X-Google-Smtp-Source: APXvYqxEuFT+Wlo0GeN5LGp6as3H+ELME0HqC5z9PhFVkGF1rI2bYwDFYaY2xTGcauCc8uFxIImBgw== X-Received: by 2002:a05:600c:21da:: with SMTP id x26mr31675950wmj.4.1579081775471; Wed, 15 Jan 2020 01:49:35 -0800 (PST) Original-Received: from rpluim-mac ([149.5.228.1]) by smtp.gmail.com with ESMTPSA id g18sm22003444wmh.48.2020.01.15.01.49.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 15 Jan 2020 01:49:34 -0800 (PST) In-Reply-To: (Robert Pluim's message of "Thu, 19 Dec 2019 18:07:17 +0100") X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::334 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:244274 Archived-At: >>>>> On Thu, 19 Dec 2019 18:07:17 +0100, Robert Pluim s= aid: >>>>> On Thu, 19 Dec 2019 17:43:46 +0200, Eli Zaretskii said: >>> From: Robert Pluim >>> Date: Thu, 19 Dec 2019 11:41:41 +0100 >>> Cc: emacs-devel@gnu.org >>>=20 >>> That seems fragile. Anyway, given that we have >>> set-process-datagram-address, I don=CA=BCt see why we couldn't add >>> set-process-datagram-source-address as well. Eli, something like th= is? >>> Or we could add an optional parameter to set-process-datagram-addre= ss >>> to mean 'set source'. Eli> The latter, IMO, because the code is very similar. Robert> OK. I=CA=BCve fixed a very embarassing bug with IPv6, and need = to test it Robert> with a datagram process in server mode. I=CA=BCve added it to m= y long list Robert> for this weekend (but it=CA=BCs vacation time, which helps :-) 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? Robert