Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for ListenUnix (0.07 sec)

  1. src/bufio/net_test.go

    	tmpDir := t.TempDir()
    	socket := filepath.Join(tmpDir, "unixsock")
    
    	// Start a unixpacket server.
    	addr := &net.UnixAddr{
    		Name: socket,
    		Net:  "unixpacket",
    	}
    	server, err := net.ListenUnix("unixpacket", addr)
    	if err != nil {
    		t.Skipf("skipping test because opening a unixpacket socket failed: %v", err)
    	}
    
    	// Start a goroutine for the server to accept one connection
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Fri Feb 07 19:37:07 UTC 2025
    - 1.9K bytes
    - Viewed (0)
Back to top