diff options
author | Andrei Vagin <avagin@google.com> | 2019-12-18 18:22:50 -0800 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2019-12-18 18:24:17 -0800 |
commit | 57ce26c0b465dce332a59c9fabb05f737ff4241d (patch) | |
tree | 2a0341f08b4b500dc4be1aa70613f35c23ce5518 /pkg/bits/uint64_arch.go | |
parent | 98e8246ad124279aa274cce3afe3a86f651aa346 (diff) |
net/tcp: allow to call listen without bind
When listen(2) is called on an unbound socket, the socket is
automatically bound to a random free port with the local address
set to INADDR_ANY.
PiperOrigin-RevId: 286305906
Diffstat (limited to 'pkg/bits/uint64_arch.go')
0 files changed, 0 insertions, 0 deletions