sing-box/inbound/default_tcp_go1.21.go

12 lines
172 B
Go
Raw Normal View History

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