You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

33 lines
575 B

  1. // Copyright 2014 The Go Authors. All rights reserved.
  2. // Use of this source code is governed by a BSD-style
  3. // license that can be found in the LICENSE file.
  4. // +build nacl plan9
  5. package nettest
  6. import (
  7. "fmt"
  8. "runtime"
  9. )
  10. func maxOpenFiles() int {
  11. return defaultMaxOpenFiles
  12. }
  13. func supportsRawIPSocket() (string, bool) {
  14. return fmt.Sprintf("not supported on %s", runtime.GOOS), false
  15. }
  16. func supportsIPv6MulticastDeliveryOnLoopback() bool {
  17. return false
  18. }
  19. func causesIPv6Crash() bool {
  20. return false
  21. }
  22. func protocolNotSupported(err error) bool {
  23. return false
  24. }