summaryrefslogtreecommitdiffstats
path: root/vendor/golang.org/x/net/internal/netreflect/socket_stub.go
blob: 17b20c47837785dd1509c8f14bb673ca59644bef (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// Copyright 2016 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.

// +build !go1.9
// +build !darwin,!dragonfly,!freebsd,!linux,!netbsd,!openbsd,!solaris,!windows

package netreflect

import "net"

func socketOf(c net.Conn) (uintptr, error) { return 0, errOpNoSupport }