github.com/v2fly/v2ray-core/v5@v5.16.2-0.20240507031116-8191faa6e095/transport/internet/sockopt_other.go (about) 1 //go:build js || dragonfly || netbsd || openbsd || solaris 2 // +build js dragonfly netbsd openbsd solaris 3 4 package internet 5 6 func applyOutboundSocketOptions(network string, address string, fd uintptr, config *SocketConfig) error { 7 return nil 8 } 9 10 func applyInboundSocketOptions(network string, fd uintptr, config *SocketConfig) error { 11 return nil 12 } 13 14 func bindAddr(fd uintptr, ip []byte, port uint32) error { 15 return nil 16 } 17 18 func setReuseAddr(fd uintptr) error { 19 return nil 20 } 21 22 func setReusePort(fd uintptr) error { 23 return nil 24 }