sing-box/inbound/default_tcp_go1.21.go

12 lines
179 B
Go
Raw Normal View History

2023-08-08 08:14:03 +00:00
//go:build go1.21
package inbound
import "net"
const multipathTCPAvailable = true
func setMultiPathTCP(listenConfig *net.ListenConfig) {
listenConfig.SetMultipathTCP(true)
}