Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestConnAndListener (0.18 sec)

  1. src/net/conn_test.go

    // someTimeout is used just to test that net.Conn implementations
    // don't explode when their SetFooDeadline methods are called.
    // It isn't actually used for testing timeouts.
    const someTimeout = 1 * time.Hour
    
    func TestConnAndListener(t *testing.T) {
    	for i, network := range []string{"tcp", "unix", "unixpacket"} {
    		i, network := i, network
    		t.Run(network, func(t *testing.T) {
    			if !testableNetwork(network) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 18 17:20:52 UTC 2023
    - 1.8K bytes
    - Viewed (0)
Back to top