2016-03-01 15:57:46 -07:00
|
|
|
// Copyright 2009 The Go Authors. All rights reserved.
|
2013-07-15 16:40:55 -06:00
|
|
|
// Use of this source code is governed by a BSD-style
|
|
|
|
// license that can be found in the LICENSE file.
|
|
|
|
|
2014-09-18 04:17:55 -06:00
|
|
|
// +build nacl
|
2014-09-11 02:56:58 -06:00
|
|
|
|
2013-07-15 16:40:55 -06:00
|
|
|
package net
|
|
|
|
|
|
|
|
import (
|
|
|
|
"syscall"
|
|
|
|
"time"
|
|
|
|
)
|
|
|
|
|
2014-09-18 04:17:55 -06:00
|
|
|
func setNoDelay(fd *netFD, noDelay bool) error {
|
|
|
|
return syscall.ENOPROTOOPT
|
|
|
|
}
|
|
|
|
|
2013-07-15 16:40:55 -06:00
|
|
|
func setKeepAlivePeriod(fd *netFD, d time.Duration) error {
|
2014-09-11 02:56:58 -06:00
|
|
|
return syscall.ENOPROTOOPT
|
2013-07-15 16:40:55 -06:00
|
|
|
}
|