2021-08-21 01:20:40 -04:00
|
|
|
//go:build js || dragonfly || netbsd || openbsd || solaris
|
2020-03-21 18:50:52 -04:00
|
|
|
// +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
|
|
|
|
2018-11-21 08:54:40 -05:00
|
|
|
func bindAddr(fd uintptr, ip []byte, port uint32) error {
|
2018-09-17 09:12:58 -04:00
|
|
|
return nil
|
|
|
|
}
|
2020-07-30 13:20:12 -04:00
|
|
|
|
|
|
|
func setReuseAddr(fd uintptr) error {
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func setReusePort(fd uintptr) error {
|
|
|
|
return nil
|
|
|
|
}
|