v2ray-core/transport/internet/kcp/tls.go

14 lines
191 B
Go
Raw Normal View History

2017-01-04 12:29:41 +00:00
package kcp
import "net"
type UnreusableConnection struct {
net.Conn
}
func (c UnreusableConnection) Reusable() bool {
return false
}
func (c UnreusableConnection) SetReusable(bool) {}