status-go/vendor/github.com/anacrolix/utp
Pascal Precht 364838532f Add torrent library dependency 2022-04-06 11:48:16 +02:00
..
LICENSE Add torrent library dependency 2022-04-06 11:48:16 +02:00
NOTES Add torrent library dependency 2022-04-06 11:48:16 +02:00
README.md Add torrent library dependency 2022-04-06 11:48:16 +02:00
addr.go Add torrent library dependency 2022-04-06 11:48:16 +02:00
conn.go Add torrent library dependency 2022-04-06 11:48:16 +02:00
deadlines.go Add torrent library dependency 2022-04-06 11:48:16 +02:00
expvar.go Add torrent library dependency 2022-04-06 11:48:16 +02:00
header.go Add torrent library dependency 2022-04-06 11:48:16 +02:00
nop.go Add torrent library dependency 2022-04-06 11:48:16 +02:00
pingpong Add torrent library dependency 2022-04-06 11:48:16 +02:00
send.go Add torrent library dependency 2022-04-06 11:48:16 +02:00
socket.go Add torrent library dependency 2022-04-06 11:48:16 +02:00
status.go Add torrent library dependency 2022-04-06 11:48:16 +02:00
utp.go Add torrent library dependency 2022-04-06 11:48:16 +02:00

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.