summaryrefslogtreecommitdiff
path: root/docs/man/nng_pair.7.adoc
diff options
context:
space:
mode:
Diffstat (limited to 'docs/man/nng_pair.7.adoc')
-rw-r--r--docs/man/nng_pair.7.adoc11
1 files changed, 4 insertions, 7 deletions
diff --git a/docs/man/nng_pair.7.adoc b/docs/man/nng_pair.7.adoc
index f0824555..f03a4a5f 100644
--- a/docs/man/nng_pair.7.adoc
+++ b/docs/man/nng_pair.7.adoc
@@ -19,16 +19,12 @@ nng_pair - pair protocol
[source,c]
----
#include <nng/protocol/pair0/pair.h>
-
-int nng_pair0_open(nng_socket *s);
----
.Version 1
[source,c]
----
#include <nng/protocol/pair1/pair.h>
-
-int nng_pair1_open(nng_socket *s);
----
== DESCRIPTION
@@ -43,9 +39,10 @@ some additional sophistication in the application.
=== Socket Operations
-The `nng_pair_open()` call creates a _pair_ socket. Normally, this
-pattern will block when attempting to send a message, if no peer is
-able to receive the message.
+The <<nng_pair_open.3#,`nng_pair_open()`>> functions create _pair_ socket.
+
+Normally, this pattern will block when attempting to send a message if
+no peer is able to receive the message.
NOTE: Even though this mode may appear to be "reliable", because back-pressure
prevents discarding messages most of the time, there are topologies involving