diff options
author | Paul Marks <pmarks@google.com> | 2016-11-22 15:00:09 -0800 |
---|---|---|
committer | Paul Marks <pmarks@google.com> | 2016-11-22 20:54:54 -0800 |
commit | 366a0515c96d11ae23b06eca938bee0286e8785c (patch) | |
tree | 33b9d027d0d1329376e00f2e61d93d0481aa992b /build.yaml | |
parent | 01eda53c817fe766c6d63cb486f70284d9e3ee4d (diff) |
port_posix: use IPv4+IPv6 sockets to check for a free port.
This allows the port picker to function across dual-stack and
IPv4/IPv6-only environments.
For a port to be considered available, the kernel must support at least
one of (IPv6, IPv4), and the port must be available on each supported
family.
Also use the bool type where feasible.
This is based on http://cl/97155408 (for those who can read it.)
Diffstat (limited to 'build.yaml')
0 files changed, 0 insertions, 0 deletions