Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for Getaddrinfo (0.24 sec)

  1. src/net/rlimit_unix.go

    // file descriptor so we limit this to less than the number of
    // permitted open files. On some systems, notably Darwin, if
    // getaddrinfo is unable to open a file descriptor it simply returns
    // EAI_NONAME rather than a useful error. Limiting the number of
    // concurrent getaddrinfo calls to less than the permitted number of
    // file descriptors makes that error less likely. We don't bother to
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 18 17:20:52 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  2. src/internal/syscall/unix/net_darwin.go

    	Addrlen   uint32
    	Canonname *byte
    	Addr      *syscall.RawSockaddr
    	Next      *Addrinfo
    }
    
    //go:cgo_ldflag "-lresolv"
    
    //go:cgo_import_dynamic libc_getaddrinfo getaddrinfo "/usr/lib/libSystem.B.dylib"
    func libc_getaddrinfo_trampoline()
    
    func Getaddrinfo(hostname, servname *byte, hints *Addrinfo, res **Addrinfo) (int, error) {
    	gerrno, _, errno := syscall_syscall6(abi.FuncPCABI0(libc_getaddrinfo_trampoline),
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 28 13:41:21 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  3. src/net/cgo_linux.go

    // arguments for and against including AI_ADDRCONFIG
    // in the flags (it includes IPv4 results only on IPv4 systems,
    // and similarly for IPv6), but in practice setting it causes
    // getaddrinfo to return the wrong canonical name on Linux.
    // So definitely leave it out.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 18:17:57 UTC 2021
    - 642 bytes
    - Viewed (0)
  4. src/net/cgo_unix_syscall.go

    }
    
    func _C_gai_strerror(eai _C_int) string {
    	return unix.GaiStrerror(int(eai))
    }
    
    func _C_getaddrinfo(hostname, servname *byte, hints *_C_struct_addrinfo, res **_C_struct_addrinfo) (int, error) {
    	return unix.Getaddrinfo(hostname, servname, hints, res)
    }
    
    func _C_res_ninit(state *_C_struct___res_state) error {
    	unix.ResNinit(state)
    	return nil
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 07 23:50:56 UTC 2024
    - 3K bytes
    - Viewed (0)
  5. src/net/cgo_unix_cgo.go

    func _C_gai_strerror(eai _C_int) string {
    	return C.GoString(C.gai_strerror(eai))
    }
    
    func _C_getaddrinfo(hostname, servname *_C_char, hints *_C_struct_addrinfo, res **_C_struct_addrinfo) (int, error) {
    	x, err := C.getaddrinfo(hostname, servname, hints, res)
    	return int(x), err
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 15 17:49:28 UTC 2024
    - 2.2K bytes
    - Viewed (0)
Back to top