1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
//go:build !darwin && !dragonfly && !freebsd && !linux && !netbsd && !openbsd // +build !darwin,!dragonfly,!freebsd,!linux,!netbsd,!openbsd package utilities import ( "net" "golang.org/x/sys/unix" ) func GetTCPInfo(connection net.Conn) (*unix.TCPInfo, error) { return nil, NotImplemented{Functionality: "GetTCPInfo"} } func PrintTCPInfo(info *unix.TCPInfo) { return }