Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for SetsockoptString (0.35 sec)

  1. internal/http/check_port_linux.go

    			c.Control(func(fdPtr uintptr) {
    				if opts.Interface != "" {
    					// When interface is specified look for specifically port availability on
    					// the specified interface if any.
    					_ = syscall.SetsockoptString(int(fdPtr), syscall.SOL_SOCKET, syscall.SO_BINDTODEVICE, opts.Interface)
    				}
    			})
    			return nil
    		},
    	}
    
    	ctx, cancel := context.WithTimeout(context.Background(), time.Second)
    	defer cancel()
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed May 03 21:12:25 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  2. internal/http/dial_linux.go

    				// Create socket on specific vrf device.
    				// To catch all kinds of special cases this filters specifically for loopback networks.
    				if ip := net.ParseIP(address); ip != nil && !ip.IsLoopback() {
    					_ = syscall.SetsockoptString(fd, syscall.SOL_SOCKET, syscall.SO_BINDTODEVICE, opts.Interface)
    				}
    			}
    		})
    		return nil
    	}
    }
    
    // DialContext is a function to make custom Dial for internode communications
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jul 23 10:53:03 UTC 2024
    - 5K bytes
    - Viewed (0)
  3. api/go1.14.txt

    pkg syscall (freebsd-arm64), func SetsockoptIPv6Mreq(int, int, int, *IPv6Mreq) error
    pkg syscall (freebsd-arm64), func SetsockoptLinger(int, int, int, *Linger) error
    pkg syscall (freebsd-arm64), func SetsockoptString(int, int, int, string) error
    pkg syscall (freebsd-arm64), func SetsockoptTimeval(int, int, int, *Timeval) error
    pkg syscall (freebsd-arm64), func Settimeofday(*Timeval) error
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Feb 17 20:31:46 UTC 2023
    - 508.9K bytes
    - Viewed (0)
  4. api/go1.16.txt

    pkg syscall (darwin-arm64), func SetsockoptInt(int, int, int, int) error
    pkg syscall (darwin-arm64), func SetsockoptLinger(int, int, int, *Linger) error
    pkg syscall (darwin-arm64), func SetsockoptString(int, int, int, string) error
    pkg syscall (darwin-arm64), func SetsockoptTimeval(int, int, int, *Timeval) error
    pkg syscall (darwin-arm64), func Settimeofday(*Timeval) error
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Dec 02 16:30:41 UTC 2022
    - 479.2K bytes
    - Viewed (0)
  5. api/go1.20.txt

    pkg syscall (freebsd-riscv64), func SetsockoptInt(int, int, int, int) error #53466
    pkg syscall (freebsd-riscv64), func SetsockoptLinger(int, int, int, *Linger) error #53466
    pkg syscall (freebsd-riscv64), func SetsockoptString(int, int, int, string) error #53466
    pkg syscall (freebsd-riscv64), func SetsockoptTimeval(int, int, int, *Timeval) error #53466
    pkg syscall (freebsd-riscv64), func Settimeofday(*Timeval) error #53466
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Feb 17 21:23:32 UTC 2023
    - 602.6K bytes
    - Viewed (0)
Back to top