Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for dialSerial (0.13 sec)

  1. src/net/dial.go

    }
    
    // dialParallel races two copies of dialSerial, giving the first a
    // head start. It returns the first established connection and
    // closes the others. Otherwise it returns an error from the first
    // primary address.
    func (sd *sysDialer) dialParallel(ctx context.Context, primaries, fallbacks addrList) (Conn, error) {
    	if len(fallbacks) == 0 {
    		return sd.dialSerial(ctx, primaries)
    	}
    
    	returned := make(chan struct{})
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 20 06:04:31 UTC 2024
    - 26.9K bytes
    - Viewed (0)
Back to top