Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for cgoSockaddr (0.13 sec)

  1. src/net/cgo_unix.go

    func cgoLookupPTR(ctx context.Context, addr string) (names []string, err error) {
    	ip, err := netip.ParseAddr(addr)
    	if err != nil {
    		return nil, &DNSError{Err: "invalid address", Name: addr}
    	}
    	sa, salen := cgoSockaddr(IP(ip.AsSlice()), ip.Zone())
    	if sa == nil {
    		return nil, &DNSError{Err: "invalid address " + ip.String(), Name: addr}
    	}
    
    	return doBlockingWithCtx(ctx, addr, func() ([]string, error) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Apr 14 18:23:45 UTC 2024
    - 11.4K bytes
    - Viewed (0)
Back to top