commit | ca9b12fcadcf6dc6080dcbf16247b10f9ec5aa4c | [log] [tgz] |
---|---|---|
author | David 'Digit' Turner <digit@google.com> | Fri Aug 09 15:56:24 2019 +0000 |
committer | CQ bot account: commit-bot@chromium.org <commit-bot@chromium.org> | Fri Aug 09 15:56:24 2019 +0000 |
tree | 2b5654c1f1e6873ec417973a52d4dfe3aada9bdb | |
parent | c8501f377a2f2f4a2afd2ea688691b997ecf94f8 [diff] |
[mdns] Simplify SO_REUSEPORT usage for UDP sockets. This CL simplifies the function used to create a UDP socket with both SO_REUSEADDR and SO_REUSEPORT before binding it. Using the net.ListenConfig type introduced in Go 1.11 allows one to specify a control function to set socket options before it is actually bound to an interface/address. BUG: DX-1664 Change-Id: I6c520342652f1eb763f87383c745eca89cbb94f3
This repo contains tools used in Fuchsia build and development.
Go packages from here are automatically built and uploaded to CIPD and Google Storage by bots using the tools recipe.