diff options
Diffstat (limited to 'include')
| -rw-r--r-- | include/nng/nng.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/include/nng/nng.h b/include/nng/nng.h index 8b56d15a..f6b0a179 100644 --- a/include/nng/nng.h +++ b/include/nng/nng.h @@ -1103,8 +1103,9 @@ NNG_DECL int nng_url_sprintf(char *, size_t, const nng_url *); NNG_DECL const char *nng_url_scheme(const nng_url *); -// Port (TCP) for a URL, can be zero for ports are not used by the scheme. -NNG_DECL uint16_t nng_url_port(const nng_url *); +// Port (such as UDP or TCP) for a URL, can be zero for ports are not used by +// the scheme. +NNG_DECL uint32_t nng_url_port(const nng_url *); // hostname part of URL, can be NULL if irerelvant to scheme const char *nng_url_hostname(const nng_url *); |
