- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for enableSocketConnect (0.18 sec)
-
src/net/main_plan9_test.go
package net func installTestHooks() {} func uninstallTestHooks() {} // forceCloseSockets must be called only from TestMain. func forceCloseSockets() {} func enableSocketConnect() {}
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 30 03:30:14 UTC 2016 - 392 bytes - Viewed (0) -
src/net/main_posix_test.go
// license that can be found in the LICENSE file. //go:build !plan9 package net import ( "net/internal/socktest" "strings" "syscall" ) func enableSocketConnect() { sw.Set(socktest.FilterConnect, nil) } func disableSocketConnect(network string) { net, _, _ := strings.Cut(network, ":")
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Sep 18 17:20:52 UTC 2023 - 1.4K bytes - Viewed (0) -
src/net/external_test.go
disableSocketConnect(tt.unreachableNetwork) for _, addr := range tt.addrs { if err := fetchGoogle(tt.dial, network, addr); err != nil { t.Error(err) } } enableSocketConnect() } } } var ( literalAddrs4 = [...]string{ "%d.%d.%d.%d:80", "www.google.com:80", "%d.%d.%d.%d:http", "www.google.com:http", "%03d.%03d.%03d.%03d:0080",
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Sep 18 17:20:52 UTC 2023 - 4.1K bytes - Viewed (0)