周玉环 d906a41c2e first commit há 2 dias atrás
..
LICENSE d906a41c2e first commit há 2 dias atrás
NOTES d906a41c2e first commit há 2 dias atrás
README.md d906a41c2e first commit há 2 dias atrás
addr.go d906a41c2e first commit há 2 dias atrás
conn.go d906a41c2e first commit há 2 dias atrás
deadlines.go d906a41c2e first commit há 2 dias atrás
expvar.go d906a41c2e first commit há 2 dias atrás
header.go d906a41c2e first commit há 2 dias atrás
nop.go d906a41c2e first commit há 2 dias atrás
pingpong d906a41c2e first commit há 2 dias atrás
send.go d906a41c2e first commit há 2 dias atrás
socket.go d906a41c2e first commit há 2 dias atrás
status.go d906a41c2e first commit há 2 dias atrás
utp.go d906a41c2e first commit há 2 dias atrás

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.