webtorrent / string2compact

Convert 'hostname:port' strings to BitTorrent's compact ip/host binary returned by Trackers
https://webtorrent.io
MIT License
9 stars 6 forks source link

IPv6 support #1

Closed astro closed 9 years ago

astro commented 9 years ago

Support for IPv6 addresses in square brackets as asked for in https://github.com/bencevans/node-compact2string/pull/9

Note that it depends on https://github.com/feross/addr-to-ip-port/pull/2 and we'll need a dependency bump once this has been pushed to npm.

feross commented 9 years ago

I'll merge and publish as soon as the ipv6 changes in compact2string are released.

feross commented 9 years ago

This is merged and published as v1.2.0.

@astro Please confirm that the change I made to the tests here is correct: https://github.com/feross/string2compact/commit/a919eee35b89a205da6a0acf417573d1068f94eb Thanks!