vendor.github.com.xtaci.kcp-go.v5.batchconn.go Maven / Gradle / Ivy
The newest version!
package kcp
import "golang.org/x/net/ipv4"
const (
batchSize = 16
)
type batchConn interface {
WriteBatch(ms []ipv4.Message, flags int) (int, error)
ReadBatch(ms []ipv4.Message, flags int) (int, error)
}