All Downloads are FREE. Search and download functionalities are using the official Maven repository.

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)
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy