Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 16 of 16 for listenUnix (0.3 sec)

  1. cni/pkg/nodeagent/ztunnelserver.go

    	if err := os.Remove(addr); err != nil && !os.IsNotExist(err) {
    		// Anything other than "file not found" is an error.
    		return nil, fmt.Errorf("failed to remove unix://%s: %w", addr, err)
    	}
    
    	l, err := net.ListenUnix("unixpacket", resolvedAddr)
    	if err != nil {
    		return nil, fmt.Errorf("failed to listen unix: %w", err)
    	}
    
    	return &ztunnelServer{
    		listener: l,
    		conns: &connMgr{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 22:07:03 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  2. src/net/error_test.go

    		case "udp":
    			_, err = ListenUDP(network, &UDPAddr{Port: 1 << 16})
    		case "ip:4294967296":
    			_, err = ListenIP(network, nil)
    		case "unix", "unixpacket":
    			_, err = ListenUnix(network, &UnixAddr{Name: "//"})
    		case "unixgram":
    			_, err = ListenUnixgram(network, &UnixAddr{Name: "//"})
    		}
    		if err == nil {
    			t.Errorf("%s: should fail", network)
    			continue
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 18 17:20:52 UTC 2023
    - 20.3K bytes
    - Viewed (0)
  3. src/net/dial.go

    	switch la := la.(type) {
    	case *TCPAddr:
    		if sl.MultipathTCP() {
    			l, err = sl.listenMPTCP(ctx, la)
    		} else {
    			l, err = sl.listenTCP(ctx, la)
    		}
    	case *UnixAddr:
    		l, err = sl.listenUnix(ctx, la)
    	default:
    		return nil, &OpError{Op: "listen", Net: sl.network, Source: nil, Addr: la, Err: &AddrError{Err: "unexpected address type", Addr: address}}
    	}
    	if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 20 06:04:31 UTC 2024
    - 26.9K bytes
    - Viewed (0)
  4. pkg/util/iptables/iptables_test.go

    	var runLock *net.UnixListener
    	// Grab the abstract @xtables socket, will retry if the socket exists
    	err := wait.PollImmediate(time.Second, wait.ForeverTestTimeout, func() (done bool, err error) {
    		runLock, err = net.ListenUnix("unix", &net.UnixAddr{Name: lockPath14x, Net: "unix"})
    		if err != nil {
    			t.Logf("Failed to lock %s: %v, will retry.", lockPath14x, err)
    			return false, nil
    		}
    		return true, nil
    	})
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Nov 08 15:21:59 UTC 2023
    - 46.3K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go

    		{"ListenConfig.KeepAlive", Field, 13},
    		{"ListenIP", Func, 0},
    		{"ListenMulticastUDP", Func, 0},
    		{"ListenPacket", Func, 0},
    		{"ListenTCP", Func, 0},
    		{"ListenUDP", Func, 0},
    		{"ListenUnix", Func, 0},
    		{"ListenUnixgram", Func, 0},
    		{"Listener", Type, 0},
    		{"LookupAddr", Func, 0},
    		{"LookupCNAME", Func, 0},
    		{"LookupHost", Func, 0},
    		{"LookupIP", Func, 0},
    		{"LookupMX", Func, 0},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 534.2K bytes
    - Viewed (0)
  6. api/go1.txt

    pkg net, func ListenPacket(string, string) (PacketConn, error)
    pkg net, func ListenTCP(string, *TCPAddr) (*TCPListener, error)
    pkg net, func ListenUDP(string, *UDPAddr) (*UDPConn, error)
    pkg net, func ListenUnix(string, *UnixAddr) (*UnixListener, error)
    pkg net, func ListenUnixgram(string, *UnixAddr) (*UDPConn, error)
    pkg net, func LookupAddr(string) ([]string, error)
    pkg net, func LookupCNAME(string) (string, error)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 14 18:58:28 UTC 2013
    - 1.7M bytes
    - Viewed (0)
Back to top