Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
net: fix BenchmarkWriteToReadFromUDP on Windows
Using 0.0.0.0 for ListenUDP listens on all addresses. Calling LocalAddr on that Conn returns 0.0.0.0. Sending to 0.0.0.0 doesn't seem to work on Windows. See #22827. Change-Id: I4a48fbabe65a63e07600a65309977cec08a9c1e5 Reviewed-on: https://go-review.googlesource.com/c/go/+/301850 Run-TryBot: Filippo Valsorda <filippo@golang.org> TryBot-Result: Go Bot <gobot@golang.org> Reviewed-by: David Chase <drchase@google.com> Trust: Filippo Valsorda <filippo@golang.org>
- Loading branch information