diff options
| author | Garrett D'Amore <garrett@damore.org> | 2017-10-02 13:34:55 -0700 |
|---|---|---|
| committer | Garrett D'Amore <garrett@damore.org> | 2017-10-02 15:29:43 -0700 |
| commit | 6e945e18f3f3e9b7f9ee614eac6d3bf681f768d9 (patch) | |
| tree | fffa3e455ec657ce3205c01c12398076e7ae28f0 /src/transport/zerotier/zerotier.adoc | |
| parent | b9b5c31b19df95d672ddc76cdfde29318f78b5ea (diff) | |
| download | nng-6e945e18f3f3e9b7f9ee614eac6d3bf681f768d9.tar.gz nng-6e945e18f3f3e9b7f9ee614eac6d3bf681f768d9.tar.bz2 nng-6e945e18f3f3e9b7f9ee614eac6d3bf681f768d9.zip | |
Added more complete tests, and changes to property handling.
We allow some properties to be set on endpoints after they are
started; transports now responsible for checking that. (The new
values will only apply to new connections of course!)
We added short-hand functions for pipe properties, and also added
uint64_t shorthands across the board.
The zerotier documentation got some updates (corrections). We have
also added a separate header now for the ZT stuff.
Also, dialers and listeners do not intermix anymore -- we test that
only a dialer can be used with setting dialer options, and likewise
for listeners.
Diffstat (limited to 'src/transport/zerotier/zerotier.adoc')
| -rw-r--r-- | src/transport/zerotier/zerotier.adoc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/transport/zerotier/zerotier.adoc b/src/transport/zerotier/zerotier.adoc index dc838420..84501807 100644 --- a/src/transport/zerotier/zerotier.adoc +++ b/src/transport/zerotier/zerotier.adoc @@ -357,10 +357,10 @@ ZeroTier IDs, ZeroTier network IDs, and our own 24-bit ports. The format shall be `zt://<nwid>/<ztid>:<port>`, where the `<nwid>` component represents the 64-bit hexadecimal ZeroTier network ID, the `<ztid>` represents the 40-bit hexadecimal ZeroTier Device ID, -and the `<port>` is the 24-bit port number previously described. +and the `<port>` is the 24-bit port number (decimal) previously described. A responder may elide the `<ztid>/` portion, to just bind to itself, -in which case the format will be `zt://<nwid>/<ztid>:<port>`. +in which case the format will be `zt://<nwid>:<port>`. A port number of 0 may be used when listening to indicate that a random ephemeral port should be chosen. |
