Feature #132
closedserver.bind accept an array?
Description
Twould be nice to be able to use
server.bind = ("1.2.3.4","1.2.3.5") }}} instead of the current method (thanks dg for the hint): {{{ server.bind = "1.2.3.4" $SERVER["socket"] == "1.2.3.5" {}
server.bind accepting an array seems most intuitive.
-- bougy.man
Updated by conny almost 19 years ago
Also noted in FrequentlyAskedQuestions#HowdoIbindtomorethanoneaddress.
Updated by Anonymous almost 18 years ago
though this is easily found via google, I also second the proposed enhancement here.
at the moment my work is done by binding to a single interface, but a syntax like server.bind = ("1.2.3.4","1.2.3.5") or rather server.bind = ("1.2.3.4:80","1.2.3.5:81") is something that one really takes for granted, and there shouldn't be much pain in adding this. well, maybe a little bit, considering the colons might also show up for a v6 address, but probably this is rather easy for You. :)
using both server.bind and $SERVERsocket is two different means of achieving the same thing and thus confusing...
regards,
florian
-- florian.heigl
Updated by stbuehler over 16 years ago
- Status changed from New to Fixed
- Resolution set to wontfix
won't change in 1.4.x
Also available in: Atom