summaryrefslogtreecommitdiffstats
path: root/src/net/cgo_windows.go
blob: 6bb6cbbb2fdcfaaf652c5a0147d6ce80dacf6f91 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// Copyright 2015 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 cgo && !netgo

package net

type addrinfoErrno int

func (eai addrinfoErrno) Error() string   { return "<nil>" }
func (eai addrinfoErrno) Temporary() bool { return false }
func (eai addrinfoErrno) Timeout() bool   { return false }