anacrolix / utp

Use anacrolix/go-libutp instead
https://github.com/anacrolix/go-libutp
Mozilla Public License 2.0
173 stars 35 forks source link

Use real address of remote host. #19

Closed mjgarton closed 7 years ago

mjgarton commented 7 years ago

Use actual address used, instead of address passed by caller. This means we can diall 0.0.0.0 and it will work, since the underlying UDP packet using 0.0.0.0 actually gets 127.0.0.1 as its address. This makes utp similar to how TCP works. in Go.