socket_activation_other.go 257 B

12345678910111213
  1. //go:build !unix
  2. // +build !unix
  3. package internet
  4. import (
  5. "fmt"
  6. "github.com/v2fly/v2ray-core/v5/common/net"
  7. )
  8. func activateSocket(address string) (net.Listener, error) {
  9. return nil, fmt.Errorf("socket activation is not supported on this platform")
  10. }