1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-11-02 17:27:50 -04:00
v2fly/transport/internet/sockopt_other.go

25 lines
527 B
Go
Raw Normal View History

//go:build js || dragonfly || netbsd || openbsd || solaris
// +build js dragonfly netbsd openbsd solaris
2018-09-06 04:06:57 -04:00
package internet
2018-09-10 07:23:27 -04:00
func applyOutboundSocketOptions(network string, address string, fd uintptr, config *SocketConfig) error {
return nil
}
func applyInboundSocketOptions(network string, fd uintptr, config *SocketConfig) error {
2018-09-06 04:06:57 -04:00
return nil
}
2018-09-17 09:12:58 -04:00
func bindAddr(fd uintptr, ip []byte, port uint32) error {
2018-09-17 09:12:58 -04:00
return nil
}
func setReuseAddr(fd uintptr) error {
return nil
}
func setReusePort(fd uintptr) error {
return nil
}