go nettest_stub 源码

  • 2022-07-15
  • 浏览 (862)

golang nettest_stub 代码

文件路径:/src/vendor/golang.org/x/net/nettest/nettest_stub.go

// Copyright 2019 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.

//go:build !aix && !darwin && !dragonfly && !freebsd && !linux && !netbsd && !openbsd && !solaris && !windows && !zos
// +build !aix,!darwin,!dragonfly,!freebsd,!linux,!netbsd,!openbsd,!solaris,!windows,!zos

package nettest

func supportsRawSocket() bool {
	return false
}

相关信息

go 源码目录

相关文章

go conntest 源码

go nettest 源码

go nettest_unix 源码

go nettest_windows 源码

0  赞