From: Guus Sliepen Date: Fri, 28 Feb 2020 18:25:52 +0000 (+0100) Subject: Further improve try_bind(). X-Git-Url: http://git.meshlink.io/?a=commitdiff_plain;h=1ab9403c5eb08bcb47e8e1599764b5465c79795b;hp=1ab9403c5eb08bcb47e8e1599764b5465c79795b;p=meshlink Further improve try_bind(). Make try_bind() do the same checks as add_listen_address() does: try to create both a TCP and UDP socket on a given port for all address families. If one address family succeeds for both TCP and UDP, consider this a valid port. ---