mirror of
https://github.com/MetaCubeX/mihomo.git
synced 2024-11-16 03:32:33 +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()
|
|
}
|