anacrolix / utp

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

Socket does not implement utpSocket (missing DialContext) #24

Closed rikonor closed 7 years ago

rikonor commented 7 years ago

Hey @anacrolix,

FYI when trying to use anacrolix/torrent with cgo disabled, the following error pops up:

# github.com/securityscorecard/tm-torrents-discovery/vendor/github.com/anacrolix/torrent
vendor/github.com/anacrolix/torrent/utp_go.go:10: cannot use *utp.Socket as type utpSocket in return argument:
        *utp.Socket does not implement utpSocket (missing DialContext method)
anacrolix commented 7 years ago

Thanks, I'll fix it correctly or I'll forget in the future.

anacrolix commented 7 years ago

Le fixed.