2021-08-21 13:20:40 +08:00
|
|
|
//go:build js || dragonfly || netbsd || openbsd || solaris
|
2020-03-22 06:50:52 +08:00
|
|
|
// +build js dragonfly netbsd openbsd solaris
|
2018-09-06 10:06:57 +02:00
|
|
|
|
|
|
|
package internet
|
|
|
|
|
2018-09-10 13:23:27 +02: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 10:06:57 +02:00
|
|
|
return nil
|
|
|
|
}
|
2018-09-17 15:12:58 +02:00
|
|
|
|
2018-11-21 14:54:40 +01:00
|
|
|
func bindAddr(fd uintptr, ip []byte, port uint32) error {
|
2018-09-17 15:12:58 +02:00
|
|
|
return nil
|
|
|
|
}
|
2020-07-31 01:20:12 +08:00
|
|
|
|
|
|
|
func setReuseAddr(fd uintptr) error {
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func setReusePort(fd uintptr) error {
|
|
|
|
return nil
|
|
|
|
}
|