diff options
| author | Garrett D'Amore <garrett@damore.org> | 2019-01-06 15:19:22 -0800 |
|---|---|---|
| committer | Garrett D'Amore <garrett@damore.org> | 2019-01-06 15:19:22 -0800 |
| commit | 127383b238bee21c11b1ad118b63d2c3fe55de50 (patch) | |
| tree | 858bd63cb1e8aa85e3280aa7a469941b32688891 /docs | |
| parent | ff06de11cf5a953f47d22bd896f3860697c520c8 (diff) | |
| download | nng-127383b238bee21c11b1ad118b63d2c3fe55de50.tar.gz nng-127383b238bee21c11b1ad118b63d2c3fe55de50.tar.bz2 nng-127383b238bee21c11b1ad118b63d2c3fe55de50.zip | |
fixes #845 TCP public API doc updates (fix crossrefs)
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/man/libnng.3.adoc | 6 | ||||
| -rw-r--r-- | docs/man/nng_tcp_listener_accept.3tcp.adoc | 5 |
2 files changed, 7 insertions, 4 deletions
diff --git a/docs/man/libnng.3.adoc b/docs/man/libnng.3.adoc index 354b4b50..3ee45786 100644 --- a/docs/man/libnng.3.adoc +++ b/docs/man/libnng.3.adoc @@ -291,17 +291,19 @@ Most applications won't need to use these. |<<nng_tcp_dialer_close.3tcp#,nng_tcp_dialer_close()>>|close TCP dialer |<<nng_tcp_dialer_dial.3tcp#,nng_tcp_dialer_dial()>>|initiate outgoing TCP connection |<<nng_tcp_dialer_free.3tcp#,nng_tcp_dialer_free()>>|free TCP dialer +|<<nng_tcp_dialer_getopt.3tcp#,nng_tcp_dialer_getopt()>>|get option from TCP dialer +|<<nng_tcp_dialer_setopt.3tcp#,nng_tcp_dialer_setopt()>>|set option on TCP dialer |<<nng_tcp_free.3tcp#,nng_tcp_free()>>|free TCP connection |<<nng_tcp_getopt.3tcp#,nng_tcp_getopt()>>|get option from TCP connection |<<nng_tcp_listener_accept.3tcp#,nng_tcp_listener_accept()>>|accept incoming TCP connection |<<nng_tcp_listener_alloc.3tcp#,nng_tcp_listener_alloc()>>|allocate TCP listener |<<nng_tcp_listener_close.3tcp#,nng_tcp_listener_close()>>|close TCP listener |<<nng_tcp_listener_free.3tcp#,nng_tcp_listener_free()>>|free TCP listener +|<<nng_tcp_listener_getopt.3tcp#,nng_tcp_listener_getopt()>>|get option from TCP listener |<<nng_tcp_listener_listen.3tcp#,nng_tcp_listener_listen()>>|bind TCP listener to port -|<<nng_tcp_peername.3tcp#,nng_tcp_peername()>>|get TCP peer socket address +|<<nng_tcp_listener_setopt.3tcp#,nng_tcp_listener_setopt()>>|set option on TCP listener |<<nng_tcp_recv.3tcp#,nng_tcp_recv()>>|receive from TCP connection |<<nng_tcp_send.3tcp#,nng_tcp_send()>>|send to TCP connection -|<<nng_tcp_sockname.3tcp#,nng_tcp_sockname()>>|get TCP local socket address |<<nng_tcp_setopt.3tcp#,nng_tcp_setopt()>>|set option on TCP connection |=== diff --git a/docs/man/nng_tcp_listener_accept.3tcp.adoc b/docs/man/nng_tcp_listener_accept.3tcp.adoc index 9f0b4e6d..b7391851 100644 --- a/docs/man/nng_tcp_listener_accept.3tcp.adoc +++ b/docs/man/nng_tcp_listener_accept.3tcp.adoc @@ -37,8 +37,9 @@ If a connection is successfully established, the _aio_ will have the resulting `<<nng_tcp.5#,nng_tcp>>` stored as its first output. (See `<<nng_aio_get_output.3#,nng_aio_get_output()>>`.) -The address of the remote peer can be determined by using the -`<<nng_tcp_peername.3tcp#,nng_tcp_peername()>>` function on the +The address of the remote peer can be determined using the +<<nng_options.5#NNG_OPT_REMADDR,`NNG_OPT_REMADDR`>> option with the +<<nng_tcp_getopt.3tcp#,`nng_tcp_getopt()`>> function on the returned `<<nng_tcp.5#,nng_tcp>>`. == RETURN VALUES |
