1// Copyright 2015 The Go Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style
3// license that can be found in the LICENSE file.
4
5package net
6
7import "syscall"
8
9var (
10	errOpNotSupported = syscall.EPLAN9
11
12	abortedConnRequestErrors []error
13)
14
15func isPlatformError(err error) bool {
16	_, ok := err.(syscall.ErrorString)
17	return ok
18}
19
20func isENOBUFS(err error) bool {
21	return false // ENOBUFS is Unix-specific
22}
23