github.com/metacubex/tfo-go@v0.0.0-20240228025757-be1269474a66/mptcp_go121.go (about) 1 //go:build go1.21 2 3 package tfo 4 5 import "net" 6 7 func multipathTCP(d net.Dialer) bool { 8 return d.MultipathTCP() 9 } 10 11 func setMultipathTCP(d net.Dialer, use bool) { 12 d.SetMultipathTCP(use) 13 }