mirror of
https://gitclone.com/github.com/MetaCubeX/Clash.Meta
synced 2024-11-14 05:11:17 +08:00
16 lines
289 B
Go
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()
|
|
}
|