周玉环 d906a41c2e first commit 2 일 전
..
LICENSE d906a41c2e first commit 2 일 전
NOTES d906a41c2e first commit 2 일 전
README.md d906a41c2e first commit 2 일 전
addr.go d906a41c2e first commit 2 일 전
conn.go d906a41c2e first commit 2 일 전
deadlines.go d906a41c2e first commit 2 일 전
expvar.go d906a41c2e first commit 2 일 전
header.go d906a41c2e first commit 2 일 전
nop.go d906a41c2e first commit 2 일 전
pingpong d906a41c2e first commit 2 일 전
send.go d906a41c2e first commit 2 일 전
socket.go d906a41c2e first commit 2 일 전
status.go d906a41c2e first commit 2 일 전
utp.go d906a41c2e first commit 2 일 전

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.