1
0
mirror of https://github.com/golang/go synced 2024-11-24 23:07:56 -07:00

net: fix comments

R=golang-dev, bradfitz
CC=golang-dev
https://golang.org/cl/5557059
This commit is contained in:
Mikio Hara 2012-01-19 12:23:30 +09:00
parent f44304ee63
commit 2356e43827

View 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.