Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestUnixgramAutobind (0.23 sec)

  1. src/net/unixsock_linux_test.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package net
    
    import (
    	"bytes"
    	"reflect"
    	"syscall"
    	"testing"
    	"time"
    )
    
    func TestUnixgramAutobind(t *testing.T) {
    	laddr := &UnixAddr{Name: "", Net: "unixgram"}
    	c1, err := ListenUnixgram("unixgram", laddr)
    	if err != nil {
    		t.Fatal(err)
    	}
    	defer c1.Close()
    
    	// retrieve the autobind address
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 28 03:00:34 UTC 2017
    - 2.3K bytes
    - Viewed (0)
Back to top