YTSFlix_Go/vendor/github.com/anacrolix/utp
2018-11-04 15:58:15 +01:00
..
addr.go init 2018-11-04 15:58:15 +01:00
conn.go init 2018-11-04 15:58:15 +01:00
deadlines.go init 2018-11-04 15:58:15 +01:00
expvar.go init 2018-11-04 15:58:15 +01:00
header.go init 2018-11-04 15:58:15 +01:00
LICENSE init 2018-11-04 15:58:15 +01:00
nop.go init 2018-11-04 15:58:15 +01:00
NOTES init 2018-11-04 15:58:15 +01:00
pingpong init 2018-11-04 15:58:15 +01:00
README.md init 2018-11-04 15:58:15 +01:00
send.go init 2018-11-04 15:58:15 +01:00
socket.go init 2018-11-04 15:58:15 +01:00
status.go init 2018-11-04 15:58:15 +01:00
utp.go init 2018-11-04 15:58:15 +01:00

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.