nng
nng copied to clipboard
ZeroTier transport changes
Fix for:
- zt_ep_set_add_local_addr
- zt_ep_set_clear_local_addrs
New methods to retrieve udp address used for ZeroTier:
- zt_ep_get_udp4_addr
- zt_ep_get_udp6_addr
Note that the above format should be used in your git commit comments. You agree that by submitting a PR, you have read and agreed to our contributing guidelines.
I know things have changed a lot.
I still plan to revisit ZT in general. I'm convinced that 6PLANE is the way to go in the long run.
However, in the meantime I need to look at more modest changes like this.
Thanks for your contribution -- I will be following up.
I will do rewrite of these methods for setting and getting udp address, taking into account the comments above.
FWIW I use ZT 6PLANE to link up our containers across servers and different providers. It's so so sweet to use. @janjaapbos it would be great to see some more ZT+NNG code examples about the place to look through, if you have some to share.