From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Mario Lang Newsgroups: gmane.emacs.devel Subject: datagram source port? Date: Thu, 19 Dec 2019 10:12:10 +0100 Message-ID: <87mubollw5.fsf@blind.guru> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="29473"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Dec 19 10:12:27 2019 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1ihrr8-0007KM-DB for ged-emacs-devel@m.gmane.org; Thu, 19 Dec 2019 10:12:26 +0100 Original-Received: from localhost ([::1]:37558 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ihrr6-00015M-OW for ged-emacs-devel@m.gmane.org; Thu, 19 Dec 2019 04:12:24 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:55173) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ihrr1-00015G-RA for emacs-devel@gnu.org; Thu, 19 Dec 2019 04:12:20 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ihrr0-0007hl-DN for emacs-devel@gnu.org; Thu, 19 Dec 2019 04:12:19 -0500 Original-Received: from [2001:41d0:a:14ab::1] (port=43984 helo=ns3035380.ip-37-187-20.eu) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ihrr0-0007Pa-5u for emacs-devel@gnu.org; Thu, 19 Dec 2019 04:12:18 -0500 Original-Received: by ns3035380.ip-37-187-20.eu (Postfix, from userid 110) id 263F9351; Thu, 19 Dec 2019 09:12:14 +0000 (UTC) Original-Received: from x1.blind.guru (nt-f255.wlcli.tugraz.at [129.27.245.255]) by ns3035380.ip-37-187-20.eu (Postfix) with ESMTPSA id BAFED344 for ; Thu, 19 Dec 2019 09:12:12 +0000 (UTC) Original-Received: by x1.blind.guru (Postfix, from userid 1000) id AD9B7E82B00; Thu, 19 Dec 2019 10:12:10 +0100 (CET) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2001:41d0:a:14ab::1 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.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:243471 Archived-At: Hi. Is it possible to specify the source port for a datagram process? I didn't find anything in the elisp Info section about processes. And specifying :local [127 0 0 1 1234] didn't work either. Right now, the port is choosen randomly. That is not ideal for certain UDP applications, which match on the source port at the receiving end. --=20 CYa, =E2=A1=8D=E2=A0=81=E2=A0=97=E2=A0=8A=E2=A0=95