summaryrefslogtreecommitdiffstats
path: root/vendor/golang.org/x/net/internal/netreflect/socket_stub.go
blob: 85adb4b7f4a2ef054836d4e580a485bad9e14648 (plain)
1
2
3
4
5
6
7
8
9
10
11
// 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 !darwin,!dragonfly,!freebsd,!linux,!netbsd,!openbsd,!solaris,!windows

package netreflect

import "net"

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