dissertation-2-code/udp/congestion.go
Jake Hillion 87c0b57502
Some checks reported errors
continuous-integration/drone/push Build was killed
removed cc reset
2021-02-22 16:28:55 +00:00

14 lines
205 B
Go

package udp
import "time"
type Congestion interface {
Sequence() uint32
NextAck() uint32
NextNack() uint32
ReceivedPacket(seq, nack, ack uint32)
AwaitEarlyUpdate(keepalive time.Duration) uint32
}