From 72757bd87a8c3801137348dd026901032b8b623d Mon Sep 17 00:00:00 2001 From: Garrett D'Amore Date: Fri, 16 Feb 2018 10:29:53 -0800 Subject: Add nng_listen* man pages. --- docs/libnng.adoc | 25 ++++++++++++++++++++----- 1 file changed, 20 insertions(+), 5 deletions(-) (limited to 'docs/libnng.adoc') diff --git a/docs/libnng.adoc b/docs/libnng.adoc index 2ce2732b..60e9fad4 100644 --- a/docs/libnng.adoc +++ b/docs/libnng.adoc @@ -40,13 +40,28 @@ The following common functions exist in _libnng_. The following functions operate on sockets. |=== -|<>|close a socket -|<>|create and start a dialer -|<>|get a socket option -|<>|create and start a listener +|<>|close socket +|<>|create and start dialer +|<>|get socket option +|<>|create and start listener |<>|receive data |<>|send data -|<>|set a socket option +|<>|set socket option +|=== + +=== Connection Management + +The following functions are used with either listeners, or dialers. +Listeners accept incoming connection requets, and dialers make them. + +|=== +|<>|create and start dialer +|<>|create and start listener +|<>|close listener +|<>|create listener +|<>|get listener option +|<>|set listener option +|<>|start listener |=== === Message Handling Functions -- cgit v1.2.3-70-g09d2