From 127383b238bee21c11b1ad118b63d2c3fe55de50 Mon Sep 17 00:00:00 2001 From: Garrett D'Amore Date: Sun, 6 Jan 2019 15:19:22 -0800 Subject: fixes #845 TCP public API doc updates (fix crossrefs) --- docs/man/libnng.3.adoc | 6 ++++-- docs/man/nng_tcp_listener_accept.3tcp.adoc | 5 +++-- 2 files changed, 7 insertions(+), 4 deletions(-) (limited to 'docs') 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. |<>|close TCP dialer |<>|initiate outgoing TCP connection |<>|free TCP dialer +|<>|get option from TCP dialer +|<>|set option on TCP dialer |<>|free TCP connection |<>|get option from TCP connection |<>|accept incoming TCP connection |<>|allocate TCP listener |<>|close TCP listener |<>|free TCP listener +|<>|get option from TCP listener |<>|bind TCP listener to port -|<>|get TCP peer socket address +|<>|set option on TCP listener |<>|receive from TCP connection |<>|send to TCP connection -|<>|get TCP local socket address |<>|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 `<>` stored as its first output. (See `<>`.) -The address of the remote peer can be determined by using the -`<>` function on the +The address of the remote peer can be determined using the +<> option with the +<> function on the returned `<>`. == RETURN VALUES -- cgit v1.2.3-70-g09d2