sockopt_other.go 527 B

123456789101112131415161718192021222324
  1. //go:build js || dragonfly || netbsd || openbsd || solaris
  2. // +build js dragonfly netbsd openbsd solaris
  3. package internet
  4. func applyOutboundSocketOptions(network string, address string, fd uintptr, config *SocketConfig) error {
  5. return nil
  6. }
  7. func applyInboundSocketOptions(network string, fd uintptr, config *SocketConfig) error {
  8. return nil
  9. }
  10. func bindAddr(fd uintptr, ip []byte, port uint32) error {
  11. return nil
  12. }
  13. func setReuseAddr(fd uintptr) error {
  14. return nil
  15. }
  16. func setReusePort(fd uintptr) error {
  17. return nil
  18. }