github.com/xtls/xray-core@v1.8.12-0.20240518155711-3168d27b0bdb/transport/internet/sockopt_other.go (about) 1 //go:build js || netbsd || openbsd || solaris 2 // +build js 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 }