]> git.meshlink.io Git - meshlink/commitdiff
Further improve try_bind().
authorGuus Sliepen <guus@meshlink.io>
Fri, 28 Feb 2020 18:25:52 +0000 (19:25 +0100)
committerGuus Sliepen <guus@meshlink.io>
Fri, 28 Feb 2020 18:30:11 +0000 (19:30 +0100)
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.


No differences found