sockets_unix.go 258 B

12345678910111213141516
  1. // +build !windows
  2. package sockets
  3. import (
  4. "net"
  5. "syscall"
  6. "time"
  7. )
  8. // DialPipe connects to a Windows named pipe.
  9. // This is not supported on other OSes.
  10. func DialPipe(_ string, _ time.Duration) (net.Conn, error) {
  11. return nil, syscall.EAFNOSUPPORT
  12. }