Use anacrolix/go-libutp instead
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
cmd/ucat
LICENSE
NOTES
README.md
addr.go
conn.go
deadlines.go
expvar.go
header.go
header_test.go
nop.go
pingpong
send.go
socket.go
socket_test.go
status.go
syncthing_test.go
utp.go
utp_test.go

README.md

utp

GoDoc CircleCI

Package utp implements uTP, the micro transport protocol as used with Bittorrent. It opts for simplicity and reliability over strict adherence to the (poor) spec.

Supported

  • Multiple uTP connections switched on a single PacketConn, including those initiated locally.
  • Raw access to the PacketConn for non-uTP purposes, like sharing the PacketConn with a DHT implementation.

Implementation characteristics

  • There is no MTU path discovery.
  • A fixed 64 slot selective ack window is used in both sending and receiving.

Patches welcomed.