diff options
Diffstat (limited to 'docs/man/nn_connect.3compat.adoc')
| -rw-r--r-- | docs/man/nn_connect.3compat.adoc | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/docs/man/nn_connect.3compat.adoc b/docs/man/nn_connect.3compat.adoc index 2e669398..e498f8d3 100644 --- a/docs/man/nn_connect.3compat.adoc +++ b/docs/man/nn_connect.3compat.adoc @@ -26,10 +26,11 @@ int nn_connect(int sock, const char *url) The `nn_connect()` function arranges for the socket _sock_ to initiate connection to a peer at the address specified by _url_. -An "`endpoint identifier`" for this socket's association with the _url_ is +An identifier for this socket's association with the _url_ is returned to the caller on success. -This ID can be used with xref:nn_shutdown.3compat.adoc[`nn_shutdown()`] to -"`unbind`" the socket from the address at _url_. +This identifier can be used with +xref:nn_shutdown.3compat.adoc[`nn_shutdown()`] to +remove the association later. NOTE: This function is provided for API xref:nng_compat.3compat.adoc[compatibility] with legacy _libnanomsg_. |
