From dcb962389c5f71bc25cdb84f3363eed95bad9bdd Mon Sep 17 00:00:00 2001 From: Garrett D'Amore Date: Sat, 6 Jul 2019 13:33:55 -0700 Subject: fixes #861 Man pages need to use .adoc suffix --- docs/man/nng_socket.5.adoc | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) (limited to 'docs/man/nng_socket.5.adoc') diff --git a/docs/man/nng_socket.5.adoc b/docs/man/nng_socket.5.adoc index f0aad0c6..b101969a 100644 --- a/docs/man/nng_socket.5.adoc +++ b/docs/man/nng_socket.5.adoc @@ -27,9 +27,9 @@ typedef struct nng_socket_s nng_socket; An `nng_socket`(((socket))) is a handle to an underlying "`socket`" object. All communication between the application and remote Scalability Protocol peers is done through sockets. -A given socket can have multiple dialers (`<>`) -and/or listeners (`<>`), and multiple -pipes (`<>`), and +A given socket can have multiple dialers (xref:nng_dialer.5.adoc[`nng_dialer`]) +and/or listeners (xref:nng_listener.5.adoc[`nng_listener`]), and multiple +pipes (xref:nng_pipe.5.adoc[`nng_pipe`]), and may be connected to multiple transports at the same time. However, a given socket will have exactly one "`protocol`" associated with it, and is responsible for any state machines or other protocol-specific logic. @@ -40,9 +40,9 @@ Passing structures this way ensures gives the compiler a chance to perform accurate type checks in functions passing values of this type. Each `nng_socket` is created by a protocol-specific constructor, such as -`<>`. +xref:nng_rep_open.3.adoc[`nng_rep_open()`]. When the socket is no longer needed, it can be closed with -`<>`. +xref:nng_close.3.adoc[`nng_close()`]. [[NNG_SOCKET_INITIALIZER]] === Initialization @@ -60,12 +60,12 @@ nng_socket s = NNG_SOCKET_INITIALIZER; == SEE ALSO [.text-left] -<>, -<>, -<>, -<>, -<>, -<>, -<>, -<>, -<> +xref:libnng.3.adoc[libnng(3)], +xref:nng_close.3.adoc[nng_close(3)], +xref:nng_getopt.3.adoc[nng_getopt(3)], +xref:nng_setopt.3.adoc[nng_setopt(3)], +xref:nng_socket_id.3.adoc[nng_socket_id(3)], +xref:nng_dialer.5.adoc[nng_dialer(5)], +xref:nng_listener.5.adoc[nng_listener(5)], +xref:nng_options.5.adoc[nng_options(5)], +xref:nng.7.adoc[nng(7)] -- cgit v1.2.3-70-g09d2