Commit c1f2ec38 authored by Mikio Hara's avatar Mikio Hara

net: fix comment

RemoteAddr returns not only UDPAddr but IPAddr.

R=golang-dev, dave
CC=golang-dev
https://golang.org/cl/6401054
parent ce274339
......@@ -46,7 +46,7 @@ func (c *conn) LocalAddr() Addr {
return c.fd.laddr
}
// RemoteAddr returns the remote network address, a *UDPAddr.
// RemoteAddr returns the remote network address.
func (c *conn) RemoteAddr() Addr {
if !c.ok() {
return nil
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment