Commit 28138f13 authored by Mikio Hara's avatar Mikio Hara

net: fix comment on SetKeepAlivePeriod

R=golang-dev, dave
CC=golang-dev
https://golang.org/cl/12091043
parent 8f32df54
......@@ -121,7 +121,7 @@ func (c *TCPConn) SetKeepAlive(keepalive bool) error {
return setKeepAlive(c.fd, keepalive)
}
// SetKeepAliveIdlePeriod sets period between keep alives.
// SetKeepAlivePeriod sets period between keep alives.
func (c *TCPConn) SetKeepAlivePeriod(d time.Duration) error {
if !c.ok() {
return syscall.EINVAL
......
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