orbiter/vendor/github.com/docker/go-connections/sockets/sockets_unix.go
Gianluca Arbezzano 747f564a7a First commit
2017-02-21 00:07:57 +00:00

16 lines
258 B
Go

// +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
}