GNU bug report logs -
#34617
27.0.50; Can't bind a server process to all interfaces?
Previous Next
Reported by: Lars Ingebrigtsen <larsi <at> gnus.org>
Date: Fri, 22 Feb 2019 13:46:01 UTC
Severity: normal
Tags: fixed
Found in version 27.0.50
Fixed in version 27.1
Done: Lars Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
Lars Ingebrigtsen <larsi <at> gnus.org> writes:
> Lars Ingebrigtsen <larsi <at> gnus.org> 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
This bug report was last modified 5 years and 241 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.