2020-12-31 05:48:12 -08:00
|
|
|
// Copyright 2020 The Go Authors. All rights reserved.
|
|
|
|
// Use of this source code is governed by a BSD-style
|
|
|
|
// license that can be found in the LICENSE file.
|
|
|
|
|
2021-10-30 06:17:50 -07:00
|
|
|
//go:build (js && wasm) || plan9 || solaris || windows
|
|
|
|
// +build js,wasm plan9 solaris windows
|
2020-12-31 05:48:12 -08:00
|
|
|
|
|
|
|
package agent
|
|
|
|
|
|
|
|
import "syscall"
|
|
|
|
|
2021-10-30 06:17:50 -07:00
|
|
|
func setReuseAddrAndPortSockopts(network, address string, c syscall.RawConn) error {
|
2020-12-31 05:48:12 -08:00
|
|
|
return nil
|
|
|
|
}
|