github.com/metacubex/mihomo@v1.18.5/adapter/inbound/mptcp_go121.go (about)

     1  //go:build go1.21
     2  
     3  package inbound
     4  
     5  import "net"
     6  
     7  const multipathTCPAvailable = true
     8  
     9  func setMultiPathTCP(listenConfig *net.ListenConfig, open bool) {
    10  	listenConfig.SetMultipathTCP(open)
    11  }