status-go/vendor/github.com/marten-seemann/tcp/sys_stub.go

24 lines
599 B
Go

// Copyright 2014 Mikio Hara. 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 tcp
import "errors"
var options [soMax]option
func ioctl(s uintptr, ioc int, b []byte) error {
return errors.New("not implemented")
}
func setsockopt(s uintptr, level, name int, b []byte) error {
return errors.New("not implemented")
}
func getsockopt(s uintptr, level, name int, b []byte) (int, error) {
return 0, errors.New("not implemented")
}