Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 23 of 23 for dialFn (0.09 sec)

  1. api/go1.23.txt

    pkg net, method (*DNSError) Unwrap() error #63116
    pkg net, method (*TCPConn) SetKeepAliveConfig(KeepAliveConfig) error #62254
    pkg net, type DNSError struct, UnwrapErr error #63116
    pkg net, type Dialer struct, KeepAliveConfig KeepAliveConfig #62254
    pkg net, type KeepAliveConfig struct #62254
    pkg net, type KeepAliveConfig struct, Count int #62254
    pkg net, type KeepAliveConfig struct, Enable bool #62254
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 05 20:48:49 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  2. src/vendor/golang.org/x/net/nettest/nettest.go

    func SupportsRawSocket() bool {
    	stackOnce.Do(probeStack)
    	return rawSocketSess
    }
    
    // TestableNetwork reports whether network is testable on the current
    // platform configuration.
    //
    // See func Dial of the standard library for the supported networks.
    func TestableNetwork(network string) bool {
    	ss := strings.Split(network, ":")
    	switch ss[0] {
    	case "ip+nopriv":
    		// This is an internal network name for testing on the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  3. src/net/lookup_windows_test.go

    	for _, ans := range rx.FindAllStringSubmatch(r, -1) {
    		ptr = append(ptr, absDomainName(ans[1]))
    	}
    	return
    }
    
    func localIP() (ip IP, err error) {
    	conn, err := Dial("udp", "golang.org:80")
    	if err != nil {
    		return nil, err
    	}
    	defer conn.Close()
    
    	localAddr := conn.LocalAddr().(*UDPAddr)
    
    	return localAddr.IP, nil
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 8.7K bytes
    - Viewed (0)
Back to top