From f93dfcfaebad0a995e18298f0588a5cbfc0c1d8f Mon Sep 17 00:00:00 2001
From: Garrett D'Amore struct types with the following definitions:
struct types with the following definitions:
typedef struct {
// ... (2)
- uint16_t sa_family; // must be NNG_AF_INET
- uint16_t sa_port; // TCP port number
+ uint16_t sa_family; // must be NNG_AF_INET
+ uint16_t sa_port; // TCP port number
uint32_t sa_addr;
// ...
} nng_sockaddr_in;
typedef struct {
// ... (2)
- uint16_t sa_family; // must be NNG_AF_INET6
- uint16_t sa_port; // TCP port number
+ uint16_t sa_family; // must be NNG_AF_INET6
+ uint16_t sa_port; // TCP port number
uint8_t sa_addr[16];
// ...
} nng_sockaddr_in6;
diff --git a/man/tip/nng_ws.html b/man/tip/nng_ws.html
index 46695cfc..f35fe386 100644
--- a/man/tip/nng_ws.html
+++ b/man/tip/nng_ws.html
@@ -644,16 +644,16 @@ These are struct types with the following definitions:
typedef struct {
// ... (2)
- uint16_t sa_family; // must be NNG_AF_INET
- uint16_t sa_port; // TCP port number
+ uint16_t sa_family; // must be NNG_AF_INET
+ uint16_t sa_port; // TCP port number
uint32_t sa_addr;
// ...
} nng_sockaddr_in;
typedef struct {
// ... (2)
- uint16_t sa_family; // must be NNG_AF_INET6
- uint16_t sa_port; // TCP port number
+ uint16_t sa_family; // must be NNG_AF_INET6
+ uint16_t sa_port; // TCP port number
uint8_t sa_addr[16];
// ...
} nng_sockaddr_in6;
diff --git a/man/tip/nng_zerotier.html b/man/tip/nng_zerotier.html
index d5eeb948..07b215e3 100644
--- a/man/tip/nng_zerotier.html
+++ b/man/tip/nng_zerotier.html
@@ -514,6 +514,7 @@ body.book #toc,body.book #preamble,body.book h1.sect0,body.book .sect1>h2{page-b
A ZeroTier node can be in one of the following states, which
+can be obtained with the NNG_OPT_ZT_NETWORK_STATUS option:
NNG_ZT_STATUS_UPThe ZeroTier network is up. This is the only state where it is
+possible to communicate with peers, and the only state where
+the network name (NNG_OPT_ZT_NETWORK_NAME) is available.
NNG_ZT_STATUS_CONFIGThe ZeroTier node is still configuring, network services are not available.
+NNG_ZT_STATUS_DENIEDThe node does not have permission to join the ZeroTier network.
+NNG_ZT_STATUS_NOTFOUNDThe ZeroTier network is not found.
+NNG_ZT_STATUS_ERRORSome other ZeroTier error has occurred; the network is not available.
+NNG_ZT_STATUS_OBSOLETEThe node is running obsolete software; the network is not available.
+NNG_ZT_STATUS_UNKNOWNThe network is in an unknown state. This should not happen, as it +indicates that the ZeroTier software is reporting an unexpected status. +The network is most likely not available.
+The following transport options are available:
@@ -743,39 +787,7 @@ provides auint64_t in native byte order representing the ZeroTier
NNG_OPT_ZT_NETWORK_STATUSThis is a read-only integer, representing the ZeroTier network status. -Valid values for this are:
-
|
-The ZeroTier node is still configuring, network services are not available. |
-
|
-The ZeroTier network is up. |
-
|
-The node does not have permission to join the ZeroTier network. |
-
|
-The ZeroTier network is not found. |
-
|
-Some other ZeroTier error has occurred; the network is not available. |
-
|
-The node is running obsolete software; the network is not available. |
-
NNG_OPT_ZT_NETWORK_NAME-L5678) or provided as the next program argument
each option must be presented as a separate argument to the program.