cri-o/vendor/github.com/docker/go-connections/sockets/sockets_unix.go

16 lines
258 B
Go
Raw Normal View History

// +build !windows
package sockets
import (
"net"
"syscall"
"time"
)
// DialPipe connects to a Windows named pipe.
// This is not supported on other OSes.
func DialPipe(_ string, _ time.Duration) (net.Conn, error) {
return nil, syscall.EAFNOSUPPORT
}