mihomo/adapter/inbound/mptcp_go121.go

12 lines
190 B
Go
Raw Permalink Normal View History

//go:build go1.21
package inbound
import "net"
const multipathTCPAvailable = true
func setMultiPathTCP(listenConfig *net.ListenConfig, open bool) {
listenConfig.SetMultipathTCP(open)
}