Commit 8f32df54 authored by Mikio Hara's avatar Mikio Hara

net: add missing SetKeepAlivePeriod for Plan 9

R=golang-dev, dave
CC=golang-dev
https://golang.org/cl/12082045
parent d920d8d8
...@@ -65,6 +65,11 @@ func (c *TCPConn) SetKeepAlive(keepalive bool) error { ...@@ -65,6 +65,11 @@ func (c *TCPConn) SetKeepAlive(keepalive bool) error {
return syscall.EPLAN9 return syscall.EPLAN9
} }
// SetKeepAlivePeriod sets period between keep alives.
func (c *TCPConn) SetKeepAlivePeriod(d time.Duration) error {
return syscall.EPLAN9
}
// SetNoDelay controls whether the operating system should delay // SetNoDelay controls whether the operating system should delay
// packet transmission in hopes of sending fewer packets (Nagle's // packet transmission in hopes of sending fewer packets (Nagle's
// algorithm). The default is true (no delay), meaning that data is // algorithm). The default is true (no delay), meaning that data is
......
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