diff options
| author | Garrett D'Amore <garrett@damore.org> | 2018-02-16 10:29:53 -0800 |
|---|---|---|
| committer | Garrett D'Amore <garrett@damore.org> | 2018-02-16 10:29:53 -0800 |
| commit | 72757bd87a8c3801137348dd026901032b8b623d (patch) | |
| tree | 84317394c48ff6228103715a4af42f99d6926607 /docs/libnng.adoc | |
| parent | a245b3add629d081015b0f7223e978f000949aa8 (diff) | |
| download | nng-72757bd87a8c3801137348dd026901032b8b623d.tar.gz nng-72757bd87a8c3801137348dd026901032b8b623d.tar.bz2 nng-72757bd87a8c3801137348dd026901032b8b623d.zip | |
Add nng_listen* man pages.
Diffstat (limited to 'docs/libnng.adoc')
| -rw-r--r-- | docs/libnng.adoc | 25 |
1 files changed, 20 insertions, 5 deletions
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. |=== -|<<nng_close#,nng_close(3)>>|close a socket -|<<nng_dial#,nng_dial(3)>>|create and start a dialer -|<<nng_getopt#,nng_getopt(3)>>|get a socket option -|<<nng_listen#,nng_listen(3)>>|create and start a listener +|<<nng_close#,nng_close(3)>>|close socket +|<<nng_dial#,nng_dial(3)>>|create and start dialer +|<<nng_getopt#,nng_getopt(3)>>|get socket option +|<<nng_listen#,nng_listen(3)>>|create and start listener |<<nng_recv#,nng_recv(3)>>|receive data |<<nng_send#,nng_send(3)>>|send data -|<<nng_setopt#,nng_setopt(3)>>|set a socket option +|<<nng_setopt#,nng_setopt(3)>>|set socket option +|=== + +=== Connection Management + +The following functions are used with either listeners, or dialers. +Listeners accept incoming connection requets, and dialers make them. + +|=== +|<<nng_dial#,nng_dial(3)>>|create and start dialer +|<<nng_listen#,nng_listen(3)>>|create and start listener +|<<nng_listener_close#,nng_listener_close(3)>>|close listener +|<<nng_listener_create#,nng_listener_create(3)>>|create listener +|<<nng_listener_getopt#,nng_listener_getopt(3)>>|get listener option +|<<nng_listener_setopt#,nng_listener_setopt(3)>>|set listener option +|<<nng_listener_start#,nng_listener_start(3)>>|start listener |=== === Message Handling Functions |
