aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMikio Hara <mikioh.mikioh@gmail.com>2012-01-19 12:23:30 +0900
committerMikio Hara <mikioh.mikioh@gmail.com>2012-01-19 12:23:30 +0900
commit2356e438274814a3dabc56541dbd5788a3c1750c (patch)
tree558b53bee08e675096a5dfc28111eb6e4c6bb11d
parentf44304ee634ce8f97a0000b72dafba4fdbdf46b1 (diff)
downloadgo-2356e438274814a3dabc56541dbd5788a3c1750c.tar.gz
go-2356e438274814a3dabc56541dbd5788a3c1750c.zip
net: fix comments
R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/5557059
-rw-r--r--src/pkg/net/net.go4
1 files changed, 2 insertions, 2 deletions
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.