From: Mikio Hara Date: Thu, 19 Jan 2012 03:23:30 +0000 (+0900) Subject: net: fix comments X-Git-Tag: weekly.2012-01-20~39 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=2356e438274814a3dabc56541dbd5788a3c1750c;p=gostls13.git net: fix comments R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/5557059 --- diff --git a/src/pkg/net/net.go b/src/pkg/net/net.go index 7db7dfd134..609fee242d 100644 --- a/src/pkg/net/net.go +++ b/src/pkg/net/net.go @@ -24,12 +24,12 @@ type Addr interface { type Conn interface { // Read reads data from the connection. // Read can be made to time out and return a net.Error with Timeout() == true - // after a fixed time limit; see SetTimeout and SetReadTimeout. + // after a fixed time limit; see SetDeadline and SetReadDeadline. Read(b []byte) (n int, err error) // Write writes data to the connection. // Write can be made to time out and return a net.Error with Timeout() == true - // after a fixed time limit; see SetTimeout and SetWriteTimeout. + // after a fixed time limit; see SetDeadline and SetWriteDeadline. Write(b []byte) (n int, err error) // Close closes the connection.