sockopt_other.go 468 B

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