For #34611
Change-Id: I9a1357f53124c98ad017b58774696d0377dbea27
Reviewed-on: https://go-review.googlesource.com/c/go/+/369160
Trust: Bryan Mills <bcmills@google.com>
Run-TryBot: Bryan Mills <bcmills@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
// Any blocked Read or Write operations will be unblocked and return errors.
Close() error
- // LocalAddr returns the local network address.
+ // LocalAddr returns the local network address, if known.
LocalAddr() Addr
- // RemoteAddr returns the remote network address.
+ // RemoteAddr returns the remote network address, if known.
RemoteAddr() Addr
// SetDeadline sets the read and write deadlines associated
// Any blocked ReadFrom or WriteTo operations will be unblocked and return errors.
Close() error
- // LocalAddr returns the local network address.
+ // LocalAddr returns the local network address, if known.
LocalAddr() Addr
// SetDeadline sets the read and write deadlines associated