16 lines
258 B
Go
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
|
||
|
}
|