From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Robert Pluim Newsgroups: gmane.emacs.bugs Subject: bug#34617: 27.0.50; Can't bind a server process to all interfaces? Date: Fri, 22 Feb 2019 15:25:22 +0100 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="81332"; mail-complaints-to="usenet@blaine.gmane.org" Cc: 34617@debbugs.gnu.org To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Feb 22 16:13:00 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gxCVX-000KnV-WC for geb-bug-gnu-emacs@m.gmane.org; Fri, 22 Feb 2019 16:13:00 +0100 Original-Received: from localhost ([127.0.0.1]:52410 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gxCVR-0004Rq-LG for geb-bug-gnu-emacs@m.gmane.org; Fri, 22 Feb 2019 10:12:53 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:47713) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gxBmF-0000Ho-MC for bug-gnu-emacs@gnu.org; Fri, 22 Feb 2019 09:26:15 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gxBm9-0006EU-N6 for bug-gnu-emacs@gnu.org; Fri, 22 Feb 2019 09:26:11 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:34167) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gxBm6-0006Ar-VM for bug-gnu-emacs@gnu.org; Fri, 22 Feb 2019 09:26:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gxBm6-0005Vv-Po for bug-gnu-emacs@gnu.org; Fri, 22 Feb 2019 09:26:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Robert Pluim Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 22 Feb 2019 14:26:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 34617 X-GNU-PR-Package: emacs Original-Received: via spool by 34617-submit@debbugs.gnu.org id=B34617.155084554021165 (code B ref 34617); Fri, 22 Feb 2019 14:26:02 +0000 Original-Received: (at 34617) by debbugs.gnu.org; 22 Feb 2019 14:25:40 +0000 Original-Received: from localhost ([127.0.0.1]:47711 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gxBlg-0005VF-Mi for submit@debbugs.gnu.org; Fri, 22 Feb 2019 09:25:40 -0500 Original-Received: from mail-wm1-f49.google.com ([209.85.128.49]:40160) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gxBla-0005Uv-V2 for 34617@debbugs.gnu.org; Fri, 22 Feb 2019 09:25:34 -0500 Original-Received: by mail-wm1-f49.google.com with SMTP id t15so2119681wmi.5 for <34617@debbugs.gnu.org>; Fri, 22 Feb 2019 06:25:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:mail-copies-to:gmane-reply-to-list :date:in-reply-to:message-id:mime-version; bh=vu/HYcEqeVuPCBZZzLIsFj6JSmqeDeGRU8cna0o7ptU=; b=ALYpme1gjE5zdKvyzt1fZp1HV/O9LdXqQ2bec8Qr8+WdF9dSoxXYQxxt70ZfnFrOAZ Yd+d9591goIxGvB3Fa1UPe2u/KhVY0YTg3jNwA83tLUuTSw+pLkqk+HP1UlULVz7hqZ3 UPZ+ZLC53Q0SPSA0/eeYj3sd8Ee+P2lzmLkn1Nc7gLS135HXEGH8Hx5BrpFF1fK5liqj qZUzt/4h91XH/mOdo6+YhRRZB18wLxP9CT3qPv5EEbnECB7ESGYAeo8fU1aPR11zzm83 EE6ISivrD+rIELRz87L25p78VvMEqyT/hyLraHzSVwJwGxx3qINP9HiXkryHJ3bA39Ry lOzw== 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:mail-copies-to :gmane-reply-to-list:date:in-reply-to:message-id:mime-version; bh=vu/HYcEqeVuPCBZZzLIsFj6JSmqeDeGRU8cna0o7ptU=; b=CEObQC50hFLj2QdRjU4gT/PxKuZ5WDNASrXy1j364gpAzB0OE4fE4fjGAerdxU+bmX zXZ+bOxc4jGgo+Bwcge9nyaitCo76/tBKC1KcRaNq66PvyG45JCmOHCERCX7QDcS6aUT 2Zl4mMJG8m/S+11xi/oFngpfMSLTdpZARuq4ZQMRhRKXKSwRPD9Qq6azZOjf/cLjqd15 hpET8Wm30RuA139RKwx1CoQsRpfjz/akguGA6cv2/ENk+3vATlhrz4/pM6JcWkxfG1tw 4xKIv0AjYGupGkSN8P4gOpl/8D0QWViGsN3pmPYlJ0QpWOoUci2sV9UV9qqyqp3bHC1U w6Yw== X-Gm-Message-State: AHQUAuaCDFou4QHPvt1Y5rMCAzDwzyHoYKGEU9crKRRW7RmXSgD0u8BI /N3zJFw9c34SNvdmHKJxzwGLq7aOEnE= X-Google-Smtp-Source: AHgI3IawDYrH8rJlouROEu5MgN7zKOVi/Izcvsu/WuVlXcmildghQ7GONitN8N7h7ZsEkin5PwY0Xg== X-Received: by 2002:a1c:a797:: with SMTP id q145mr2802638wme.6.1550845524597; Fri, 22 Feb 2019 06:25:24 -0800 (PST) Original-Received: from rpluim-mac ([149.5.228.1]) by smtp.gmail.com with ESMTPSA id a8sm1231090wrt.79.2019.02.22.06.25.23 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Fri, 22 Feb 2019 06:25:23 -0800 (PST) Mail-Copies-To: never Gmane-Reply-To-List: yes In-Reply-To: (Lars Ingebrigtsen's message of "Fri, 22 Feb 2019 15:05:41 +0100") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 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.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:155645 Archived-At: Lars Ingebrigtsen writes: > Lars Ingebrigtsen writes: > >> Somebody on irc told me that >> >> :host "0.0.0.0" >> >> will give me the INADDR_ANY thing I want... So perhaps that should just >> be added to the doc string? > > And the same somebody pointed out that then you can't listen to ipv6 and > ipv4 at the same time. Probably? > You can, by listening to "::" but it depends on the underlying stack whether it works or not. It works for me :-) > So perhaps there should be a > > :host 'any > > thing to just listen to a port on all available interfaces... Sure, as long as we make it error out if :family is specified, unless you want :family 'ipv6 :host 'any to mean 'listen only on IPv6' interfaces and similarly for 'ipv4. Robert