aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNathan Kent <nkent2@cs.rochester.edu>2018-09-18 19:55:48 -0400
committerGarrett D'Amore <garrett@damore.org>2018-09-19 08:20:13 -0700
commitcf576e329c8b17604e0bfa1005d502086e4cf8b6 (patch)
tree817161f269aa8eb3f61415d510c3dc1d6d51c0d4
parent8accebbc909160c0be3c385e4952bd91e754bd45 (diff)
downloadnng-cf576e329c8b17604e0bfa1005d502086e4cf8b6.tar.gz
nng-cf576e329c8b17604e0bfa1005d502086e4cf8b6.tar.bz2
nng-cf576e329c8b17604e0bfa1005d502086e4cf8b6.zip
Update docs for `nng_dial` and `nng_listen`
Closes #731
-rw-r--r--docs/man/nng_dial.3.adoc2
-rw-r--r--docs/man/nng_listen.3.adoc2
2 files changed, 2 insertions, 2 deletions
diff --git a/docs/man/nng_dial.3.adoc b/docs/man/nng_dial.3.adoc
index 50fa229c..77eda33b 100644
--- a/docs/man/nng_dial.3.adoc
+++ b/docs/man/nng_dial.3.adoc
@@ -76,7 +76,7 @@ This function returns 0 on success, and non-zero otherwise.
`NNG_ECLOSED`:: The socket _s_ is not open.
`NNG_ECONNREFUSED`:: The remote peer refused the connection.
`NNG_ECONNRESET`:: The remote peer reset the connection.
-`NNG_EINVAL`:: An invalid set of _flags_ was specified.
+`NNG_EINVAL`:: An invalid set of _flags_ or an invalid _url_ was specified.
`NNG_ENOMEM`:: Insufficient memory is available.
`NNG_EPEERAUTH`:: Authentication or authorization failure.
`NNG_EPROTO`:: A protocol error occurred.
diff --git a/docs/man/nng_listen.3.adoc b/docs/man/nng_listen.3.adoc
index b8e0ff5b..41d1fa9f 100644
--- a/docs/man/nng_listen.3.adoc
+++ b/docs/man/nng_listen.3.adoc
@@ -72,7 +72,7 @@ This function returns 0 on success, and non-zero otherwise.
`NNG_EADDRINUSE`:: The address specified by _url_ is already in use.
`NNG_EADDRINVAL`:: An invalid _url_ was specified.
`NNG_ECLOSED`:: The socket _s_ is not open.
-`NNG_EINVAL`:: An invalid set of _flags_ was specified.
+`NNG_EINVAL`:: An invalid set of _flags_ or an invalid _url_ was specified.
`NNG_ENOMEM`:: Insufficient memory is available.
== SEE ALSO