diff options
Diffstat (limited to 'docs/man/nng_pair_open.3.adoc')
| -rw-r--r-- | docs/man/nng_pair_open.3.adoc | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/docs/man/nng_pair_open.3.adoc b/docs/man/nng_pair_open.3.adoc index 35bda5e5..054c3ffc 100644 --- a/docs/man/nng_pair_open.3.adoc +++ b/docs/man/nng_pair_open.3.adoc @@ -21,6 +21,8 @@ nng_pair_open - create pair socket #include <nng/protocol/pair0/pair.h> int nng_pair0_open(nng_socket *s); + +int nng_pair0_open_raw(nng_socket *s); ---- .Version 1 @@ -29,6 +31,8 @@ int nng_pair0_open(nng_socket *s); #include <nng/protocol/pair1/pair.h> int nng_pair1_open(nng_socket *s); + +int nng_pair1_open_raw(nng_socket *s); ---- == DESCRIPTION @@ -37,6 +41,11 @@ The `nng_pair0_open()` and `nng_pair1_open()` functions create a <<nng_pair.7#,_pair_>> version 0 or version 1 <<nng_socket.5#,socket>> and return it at the location pointed to by _s_. +The `nng_pair0_open_raw()` and `nng_pair1_open_raw()` functions +create a <<nng_pair.7#,_pair_>> version 0 or version 1 +<<nng_socket.5#,socket>> in +<<nng.7#raw_mode,raw>> mode and return it at the location pointed to by _s_. + == RETURN VALUES These functions returns 0 on success, and non-zero otherwise. |
