13 Commits

Author SHA1 Message Date
mwnx
a1defdc5aa Fully implement ip6zone support
- Add `FromIPAndZone` function (complementing the `FromIP` function).
- Handle zones when parsing `net.Addr`s.
- In `DialArgs`, return an error if an `ip6zone` is prefixed to an `ip4`
  or to another `ip6zone`.

Note: I was not able to add a listen test (in TestListenAddrs) for
`/zone/.../ip6/...` since there is no link-local address which is
guaranteed to exist on all systems.
2018-10-21 14:46:38 +02:00
Steven Allen
9be5ad695f test DialArgs changes 2018-10-18 11:18:58 +01:00
Steven Allen
bd10f58ac9 replace RegisterNetCodc with Register{From,To}NetAddr and fix ip addr parsing
Unfortunately, the existing abstraction couldn't handle the fact that the "ip"
net could parse to *either* an "/ip4/" or "/ip6/" multiaddr.
2018-09-14 19:36:25 -07:00
jbenet
4cc9fd0c58 go-multiaddr is now at multiformats org 2016-09-19 10:30:07 +08:00
Jeromy
ff394cdaae extract out yamux code in favor of modularity 2016-06-10 15:33:31 -07:00
Jeromy
4d7e08bab8 move deps from godep to gx 2016-04-26 17:11:49 -07:00
Jeromy
cacd78eadc add utp to multiaddr-net 2015-10-03 16:40:21 -07:00
Henry
4e467c67d1 updated godeps
small api change from utp (removed stutter)
2015-02-25 13:54:24 +01:00
Juan Batiz-Benet
97da87cf8f test ip6 conversion 2015-01-12 18:26:34 -08:00
Juan Batiz-Benet
625fac6e50 update imports to point to vendored repos 2014-11-20 00:55:05 -08:00
Juan Batiz-Benet
ae3b067850 added utp support to net/ 2014-11-19 13:24:03 -08:00
Juan Batiz-Benet
fb33680d08 net: added InterfaceMultiaddrs 2014-11-05 00:38:21 -08:00
Juan Batiz-Benet
dc978d4bc3 moved net stuff into subpkg 2014-10-11 00:50:55 -07:00