Clash.Meta/adapter/inbound/mptcp_go121.go
2024-08-24 20:49:12 +08:00

16 lines
289 B
Go

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