您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
 
 
 

29 行
531 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 js 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 protocolNotSupported(err error) bool {
  20. return false
  21. }