]> Cypherpunks repositories - gostls13.git/commitdiff
net: fix comments
authorMikio Hara <mikioh.mikioh@gmail.com>
Thu, 19 Jan 2012 03:23:30 +0000 (12:23 +0900)
committerMikio Hara <mikioh.mikioh@gmail.com>
Thu, 19 Jan 2012 03:23:30 +0000 (12:23 +0900)
R=golang-dev, bradfitz
CC=golang-dev
https://golang.org/cl/5557059

src/pkg/net/net.go

index 7db7dfd13433eef08a67c2724c03b0dbc223b332..609fee242d0dbacdd77655b206888a2bbe707ef1 100644 (file)
@@ -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.