sing-box/inbound/default_tcp_go1.21.go
2023-08-20 13:31:48 +08:00

12 lines
179 B
Go

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