2016-07-22 20:15:38 +02:00
|
|
|
// Copyright 2009 The Go Authors. All rights reserved.
|
2015-01-15 01:27:56 +01:00
|
|
|
// Use of this source code is governed by a BSD-style
|
|
|
|
// license that can be found in the LICENSE file.
|
|
|
|
|
2018-09-24 23:46:21 +02:00
|
|
|
// +build nacl js,wasm
|
2015-01-15 01:27:56 +01:00
|
|
|
|
|
|
|
package net
|
|
|
|
|
|
|
|
import (
|
|
|
|
"syscall"
|
|
|
|
"time"
|
|
|
|
)
|
|
|
|
|
|
|
|
func setNoDelay(fd *netFD, noDelay bool) error {
|
|
|
|
return syscall.ENOPROTOOPT
|
|
|
|
}
|
|
|
|
|
|
|
|
func setKeepAlivePeriod(fd *netFD, d time.Duration) error {
|
|
|
|
return syscall.ENOPROTOOPT
|
|
|
|
}
|